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/template.iss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'installer_scripts/template.iss') diff --git a/installer_scripts/template.iss b/installer_scripts/template.iss index 99ae6d33..8dd26976 100755 --- a/installer_scripts/template.iss +++ b/installer_scripts/template.iss @@ -118,6 +118,20 @@ begin Result := 1; end; +{ ///////////////////////////////////////////////////////////////////// } +function InitializeSetup(): Boolean; +begin + Result := True; + + if DirExists(ExpandConstant('{userappdata}\inkscape\extensions\')) then + Log('Found Inks') + else + begin + MsgBox('Error: Inkscape Extensions folder not found! Install and then run Inkscape to create the extension folder.', mbInformation, MB_OK); + Result := False; + end; +end; + { ///////////////////////////////////////////////////////////////////// } procedure CurStepChanged(CurStep: TSetupStep); begin -- cgit v1.2.3