Skip to content

Commit

Permalink
Test onedir
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Jul 19, 2022
1 parent ae3faa6 commit e495fa9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
& "$PSScriptRoot/compile_resources.ps1"
pyinstaller `
--windowed `
--onefile `
--onedir `
--additional-hooks-dir=Pyinstaller/hooks `
--hidden-import pynput.keyboard._xorg `
--hidden-import pynput.mouse._xorg `
Expand Down
1 change: 1 addition & 0 deletions scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ If ($IsWindows) {
pip install -r "$PSScriptRoot/requirements$dev-win32.txt"
}
ElseIf ($IsLinux) {
export QT_DEBUG_PLUGINS=1
sudo apt-get install python3-tk
pip install -r "$PSScriptRoot/requirements$dev-linux.txt"
}
Expand Down
7 changes: 6 additions & 1 deletion scripts/start.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
param ([string]$p1)
& "$PSScriptRoot/compile_resources.ps1"
python "$PSScriptRoot/../src/AutoSplit.py" $p1
If ($IsLinux) {
sudo python "$PSScriptRoot/../src/AutoSplit.py" $p1
}
Else {
python "$PSScriptRoot/../src/AutoSplit.py" $p1
}

0 comments on commit e495fa9

Please sign in to comment.