Skip to content

Commit

Permalink
Actually fix Sun Valley theme in pyinstaller builds
Browse files Browse the repository at this point in the history
The command line arguments are ignored when using a .spec file
  • Loading branch information
qwertychouskie committed May 9, 2024
1 parent c45b76e commit f16b0b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
spec: 'REVHubInterface-mac.spec'
requirements: 'requirements.txt'
upload_exe_with_name: 'REVHubInterface_Mac_Binary'
options: --onefile, --name "REVHubInterface", --windowed, --collect-data "sv_ttk",
- name: Make DMG
uses: QQxiaoming/[email protected]
with:
Expand All @@ -37,7 +36,6 @@ jobs:
spec: 'REVHubInterface.spec'
requirements: 'requirements.txt'
upload_exe_with_name: 'REVHubInterface_Windows'
options: --onefile, --name "REVHubInterface", --windowed, --collect-data "sv_ttk",
pyinstaller-build-linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -49,7 +47,6 @@ jobs:
spec: 'REVHubInterface.spec'
requirements: 'requirements.txt'
upload_exe_with_name: 'REVHubInterface_Linux'
options: --onefile, --name "REVHubInterface", --windowed, --collect-data "sv_ttk",



2 changes: 2 additions & 0 deletions REVHubInterface-mac.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_all
from PyInstaller.utils.hooks import collect_data_files

datas = []
datas += collect_data_files('sv_ttk')
binaries = []
hiddenimports = []
tmp_ret = collect_all('REVHubInterface')
Expand Down
2 changes: 2 additions & 0 deletions REVHubInterface.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_all
from PyInstaller.utils.hooks import collect_data_files

datas = []
datas += collect_data_files('sv_ttk')
binaries = []
hiddenimports = []
tmp_ret = collect_all('REVHubInterface')
Expand Down

0 comments on commit f16b0b3

Please sign in to comment.