From d929336f08f08e0b8c6a054df2367d24af92dd11 Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Sat, 10 Feb 2024 20:16:30 +0100 Subject: 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 --- installer_scripts/scripts/preinstall | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'installer_scripts/scripts') 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 -- cgit v1.2.3