Skip to content

Commit

Permalink
fix: use __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Jan 26, 2024
1 parent 34bbe15 commit b996ab9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
pip install pyinstaller
- name: Package app with pyinstaller
run: |
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__main__ import main\nmain()\n')"
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__init__ import main\nmain()\n')"
pyinstaller -F smassh.py --add-data="smassh/assets/languages/:smassh/assets/languages" --add-data="smassh/ui/css/:smassh/ui/css"
- name: Upload a Build Artifact
uses: actions/[email protected]
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
pip install pyinstaller
- name: Package app with pyinstaller
run: |
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__main__ import main\nmain()\n')"
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__init__ import main\nmain()\n')"
pyinstaller -F smassh.py --add-data="smassh/assets/languages/:smassh/assets/languages" --add-data="smassh/ui/css/:smassh/ui/css"
- name: Upload a Build Artifact
uses: actions/[email protected]
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
pip install pyinstaller
- name: Package app with pyinstaller
run: |
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__main__ import main\nmain()\n')"
python -c "with open('smassh.py', 'w') as f: f.write('from smassh.__init__ import main\nmain()\n')"
pyinstaller -F smassh.py --add-data="smassh/assets/languages/:smassh/assets/languages" --add-data="smassh/ui/css/:smassh/ui/css"
- name: Upload a Build Artifact
uses: actions/[email protected]
Expand Down

0 comments on commit b996ab9

Please sign in to comment.