Skip to content

Commit

Permalink
refactor: use __main__ for pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Feb 6, 2024
1 parent fdecef5 commit 2b4dc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Package app with pyinstaller
run: |
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__init__ import main\nmain()\n')"
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__main__ import main\nmain()\n')"
pyinstaller -F smassh.py --add-data="smassh/ui/css/:smassh/ui/css"
# Setup File name
Expand Down

0 comments on commit 2b4dc7c

Please sign in to comment.