Skip to content

Commit

Permalink
fixed issues with PyInstaller multipackaging by moving modules to sub…
Browse files Browse the repository at this point in the history
…dirs
ErikBjare committed Nov 13, 2019
1 parent adc44f7 commit 95de6cd
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -129,13 +129,13 @@ package:
mkdir -p dist/activitywatch
#
make --directory=aw-watcher-afk package
cp -r aw-watcher-afk/dist/aw-watcher-afk/. dist/activitywatch
cp -r aw-watcher-afk/dist/aw-watcher-afk dist/activitywatch
#
make --directory=aw-watcher-window package
cp -r aw-watcher-window/dist/aw-watcher-window/. dist/activitywatch
cp -r aw-watcher-window/dist/aw-watcher-window dist/activitywatch
#
make --directory=aw-server package
cp -r aw-server/dist/aw-server/. dist/activitywatch
cp -r aw-server/dist/aw-server dist/activitywatch
#
make --directory=aw-qt package
cp -r aw-qt/dist/aw-qt/. dist/activitywatch
2 changes: 1 addition & 1 deletion aw-qt
Submodule aw-qt updated 2 files
+1 −1 Makefile
+7 −4 aw_qt/manager.py
2 changes: 1 addition & 1 deletion scripts/package/activitywatch-setup.iss
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "ActivityWatch"
#define MyAppVersion "v0.8.0b9"
#define MyAppVersion GetEnv('AW_VERSION')
#define MyAppPublisher "ActivityWatch Contributors"
#define MyAppURL "https://activitywatch.net/"
#define MyAppExeName "aw-qt.exe"
2 changes: 1 addition & 1 deletion scripts/package/package-all.sh
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ function build_setup() {

choco install -y innosetup

"/c/Program Files (x86)/Inno Setup 6/iscc.exe" scripts/package/activitywatch-setup.iss
env AW_VERSION=$version "/c/Program Files (x86)/Inno Setup 6/iscc.exe" scripts/package/activitywatch-setup.iss
mv dist/activitywatch-setup.exe dist/$filename
echo "Setup built!"
}

0 comments on commit 95de6cd

Please sign in to comment.