diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2024-02-10 20:16:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-10 20:16:30 +0100 |
| commit | d929336f08f08e0b8c6a054df2367d24af92dd11 (patch) | |
| tree | 3fdfaba288e5abf9bbcab75c45a265d2ff1fcbe0 /installer_scripts/scripts | |
| parent | 87d7fa387dfafabe77ffc5fd0fa6ca3494744d66 (diff) | |
Rejbasket/pyinstaller fix installer checks (#2718)
* netowrkx deps added in build
* check for user inkscape config before installing
* get os version in exception
* update electron app location according to pyinstaller redesign
* fixed broken libgeos syslinks
* contents-directory added pyinstaller args fix broken linux and win versions
* updated inkex
* fix print_pdf
---------
authored-by: rejbasket
Diffstat (limited to 'installer_scripts/scripts')
| -rwxr-xr-x | installer_scripts/scripts/preinstall | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/installer_scripts/scripts/preinstall b/installer_scripts/scripts/preinstall index 165128a7..01427651 100755 --- a/installer_scripts/scripts/preinstall +++ b/installer_scripts/scripts/preinstall @@ -1,25 +1,13 @@ #!/bin/bash set -e inkstitch_folder=($HOME/Library/Application\ Support/org.inkscape.Inkscape/config/inkscape/extensions/inkstitch) -location_inkscape=(/Applications/Inkscape.app) - -# Checking if Inkscape is installed -if [[ -d "${location_inkscape}" ]]; then - echo "Inkscape is found and installed "${location_Inkscape}"." -else - osascript <<-AppleScript - set theDialogText to "Ink/Stich is an Inkscape plugin. Please install and run Inkscape before installing Ink/Stitch." - display dialog theDialogText buttons {"Okay"} default button "Okay" - AppleScript - exit 1 -fi # Checking if Inkscape configuration folders are created if [[ -d "${inkstitch_folder%config*}" ]]; then echo "Inkscape configs are found and installed "${inkstitch_folder%config*}"." else osascript <<-AppleScript - set theDialogText to "Please run Inkscape before installing Ink/Stitch." + set theDialogText to "Ink/Stich is an Inkscape plugin. Please install and run Inkscape before installing Ink/Stitch." display dialog theDialogText buttons {"Okay"} default button "Okay" AppleScript exit 1 |
