Skip to content

Commit 694cad8

Browse files
committed
update build scripts
1 parent 03f858a commit 694cad8

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

scripts/mac.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pip3 install git+https://github.com/ScriptSmith/socialreaper.git
55
rm -r dist/
66
pyinstaller reaper.spec
77
cd dist/
8+
security unlock-keychain
89
codesign -s "Developer ID Application: Adam Smith" --deep reaper.app
910
pkgbuild --install-location /Applications --component reaper.app --identifier Reaper --version $1 --sign "Developer ID Installer: Adam Smith" Reaper.pkg
1011
zip -r reaper.zip reaper.app

scripts/setup.iss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "Reaper"
5-
#define MyAppVersion "2.5.3"
65
#define MyAppPublisher "The University of Queensland"
76
#define MyAppURL "http://reaper.social"
87
#define MyAppExeName "reaper.exe"
@@ -13,15 +12,16 @@
1312
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
1413
AppId={{D200F93A-07DC-4F73-8713-18E4CDCAA43C}
1514
AppName={#MyAppName}
16-
AppVersion={#MyAppVersion}
17-
;AppVerName={#MyAppName} {#MyAppVersion}
15+
AppVersion={#ApplicationVersion}
16+
;AppVerName={#MyAppName} {#ApplicationVersion}
1817
AppPublisher={#MyAppPublisher}
1918
AppPublisherURL={#MyAppURL}
2019
AppSupportURL={#MyAppURL}
2120
AppUpdatesURL={#MyAppURL}
2221
DefaultDirName={pf}\{#MyAppName}
2322
DisableProgramGroupPage=yes
2423
LicenseFile=C:\Users\s4394487\src\reaper\dist\reaper\LICENSE.txt
24+
OutputDir=C:\Users\s4394487\src\reaper\dist\
2525
OutputBaseFilename=reaper-setup
2626
SetupIconFile=C:\Users\s4394487\src\reaper\dist\reaper\ui\icon.ico
2727
Compression=lzma

scripts/windows.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pip install -e ..\socialreaper
12
rmdir build\ /s /q
23
rmdir dist\reaper /s /q
34
pyinstaller.exe -w -i ui/icon.ico reaper.py
@@ -6,4 +7,4 @@ robocopy sources dist\reaper\sources /mir
67
robocopy licenses dist\reaper\licenses /mir
78
copy LICENSE.txt dist\reaper\LICENSE.txt
89
copy sources.xml dist\reaper\sources.xml
9-
scripts\setup.iss
10+
"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" scripts\setup.iss /DApplicationVersion==%1

0 commit comments

Comments
 (0)