diff --git a/.idea/misc.xml b/.idea/misc.xml index a6ffc70..2b390fe 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -6,7 +6,7 @@ - + diff --git a/.idea/revpicommander.iml b/.idea/revpicommander.iml index 50dc2a4..1cd9fe4 100644 --- a/.idea/revpicommander.iml +++ b/.idea/revpicommander.iml @@ -5,8 +5,9 @@ + - + diff --git a/make.bat b/make.bat new file mode 100755 index 0000000..e27c62a --- /dev/null +++ b/make.bat @@ -0,0 +1,7 @@ +@echo off +pyinstaller --noconfirm --clean -D --windowed ^ + --add-data="data\\revpicommander.ico;." ^ + --add-data="revpicommander\\locale;.\\locale" ^ + --icon=data\\revpicommander.ico ^ + --path=include ^ + revpicommander\revpicommander.py diff --git a/setup.iss b/setup.iss new file mode 100755 index 0000000..0361bcd --- /dev/null +++ b/setup.iss @@ -0,0 +1,48 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "RevPiCommander" +#define MyAppVersion "0.9.3b" +#define MyAppPublisher "Sven Sager" +#define MyAppURL "https://revpimodio.org/" +#define MyAppExeName "revpicommander.exe" + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId={{21E8D429-0C18-462F-AFC0-56EA664DE629} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\{#MyAppName} +DisableProgramGroupPage=yes +;LicenseFile=LICENSE.txt +; Uncomment the following line to run in non administrative install mode (install for current user only.) +;PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputDir=downloads +OutputBaseFilename=RevPiCommander_{#MyAppVersion} +SetupIconFile=data\revpicommander.ico +Compression=lzma +SolidCompression=yes +WizardStyle=modern + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" +Name: "german"; MessagesFile: "compiler:Languages\German.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "dist\revpicommander\revpicommander.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "dist\revpicommander\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon