diff --git a/setup_inform_lnx.sh b/setup_inform_lnx.sh new file mode 100644 index 0000000..cf558cc --- /dev/null +++ b/setup_inform_lnx.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# InForm for QB64 - Setup script + +if [ -e "./qb64" ]; then + echo "Compiling InForm..." + ./qb64 -x ./InForm/UiEditor.bas -o ./UiEditor + + if [ -e "./UiEditor" ]; then + echo "Running InForm Designer..." + ./UiEditor & + else + echo "Compilation failed." + echo "Make sure you unpacked all files in QB64's folder, preserving the directory structure and also that you have version 1.1 of QB64 to use InForm." + fi +else + echo "Compilation failed." + echo "Make sure you have version 1.1 of QB64 to use InForm." +fi +echo +echo "Thank you for choosing InForm for QB64." diff --git a/setup_inform_macos.command b/setup_inform_macos.command new file mode 100644 index 0000000..269a0d4 --- /dev/null +++ b/setup_inform_macos.command @@ -0,0 +1,19 @@ +cd "$(dirname "$0")" +# InForm for QB64 - Setup script +if [ -e "./qb64" ]; then + echo "Compiling InForm..." + ./qb64 -x ./InForm/UiEditor.bas -o ./UiEditor + + if [ -e "./UiEditor" ]; then + echo "Running InForm Designer..." + ./UiEditor & + else + echo "Compilation failed." + echo "Make sure you unpacked all files in QB64's folder, preserving the directory structure and also that you have version 1.1 of QB64 to use InForm." + fi +else + echo "Compilation failed." + echo "Make sure you have version 1.1 of QB64 to use InForm." +fi +echo +echo "Thank you for choosing InForm for QB64." \ No newline at end of file