diff --git a/.gitignore b/.gitignore index 773a9ea..bfbc776 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ makefile *.venv *.csv *.json +Output/ \ No newline at end of file diff --git a/setup.iss b/setup.iss new file mode 100644 index 0000000..195f76c --- /dev/null +++ b/setup.iss @@ -0,0 +1,49 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "Reaper" +#define MyAppVersion "2.0" +#define MyAppPublisher "The University of Queensland" +#define MyAppURL "http://reaper.social" +#define MyAppExeName "reaper.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={{D200F93A-07DC-4F73-8713-18E4CDCAA43C} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={pf}\{#MyAppName} +DisableProgramGroupPage=yes +LicenseFile=C:\Users\s4394487\src\reaper\dist\reaper\LICENSE.txt +OutputBaseFilename=reaper-setup +SetupIconFile=C:\Users\s4394487\src\reaper\dist\reaper\ui\icon.ico +Compression=lzma +SolidCompression=yes + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1 + +[Files] +Source: "C:\Users\s4394487\src\reaper\dist\reaper\reaper.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\s4394487\src\reaper\dist\reaper\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon +Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent + diff --git a/windows.bat b/windows.bat new file mode 100644 index 0000000..b1b9cab --- /dev/null +++ b/windows.bat @@ -0,0 +1,7 @@ +rmdir dist\reaper /s /q +pyinstaller.exe -w -i ui/icon.ico reaper.py +robocopy ui dist\reaper\ui /mir +robocopy sources dist\reaper\sources /mir +robocopy licenses dist\reaper\licenses /mir +copy LICENSE.txt dist\reaper\LICENSE.txt +copy sources.xml dist\reaper\sources.xml \ No newline at end of file