Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDS-9779: Fix modeler elements error #138

Merged
merged 6 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions install/modeler/install_linux_modeler.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
#!/bin/bash

ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo
echo "Camunda Modeler Installer for Linux"
echo
echo "This will install the Camunda Modeler in this directory:"
pwd
echo

if [ ! -f "elements.json" ]; then
echo "****************************************"
echo "*************** WARNING ! **************"
echo "****************************************"
echo "+--------------------------------------+"
echo "File 'elements.json' does not exists in ${ROOT} directory "
echo "+--------------------------------------+"
echo
echo "Run the Camunda Modeler Installer from 'modeler/' folder or copy elements.json to '${ROOT}' before running modeler script "
echo "Exiting..."
exit 1
fi

# Confirm Install
while [[ ! $REPLY =~ ^(y|Y|n|N)$ ]]; do
read -p "Press Y to continue or N to abort. (Y/N): " REPLY
Expand Down
15 changes: 15 additions & 0 deletions install/modeler/install_mac_modeler.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
#!/bin/bash

ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo
echo "Camunda Modeler Installer for Mac OS"
echo

if [ ! -f "elements.json" ]; then
echo "****************************************"
echo "*************** WARNING ! **************"
echo "****************************************"
echo "+--------------------------------------+"
echo "File 'elements.json' does not exists in ${ROOT} directory "
echo "+--------------------------------------+"
echo
echo "Run the Camunda Modeler Installer from 'modeler/' folder or copy elements.json to '${ROOT}' before running modeler script "
echo "Exiting..."
exit 1
fi

if [ ! -d "/Applications" ]; then
echo "Error: Cannot find '/Applications' directory. Is this a Mac OS machine?"
echo "Exiting..."
Expand Down