Skip to content

Commit

Permalink
Update build-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco-carone authored Nov 2, 2024
1 parent 6342f28 commit 991d769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.10

- name: Install dependencies
run: |
Expand All @@ -30,7 +30,7 @@ jobs:
if [ ${{ runner.os }} == 'Linux' ]; then
pyinstaller --onefile --name "snapcast-gui" --add-data "icons/Snapcast.png:icons" --add-data "icons/Github.png:icons" main.py
elif [ ${{ runner.os }} == 'Windows' ]; then
pyinstaller --onefile --name "snapcast-gui" --add-data "icons/Snapcast.png;icons" --add-data "icons/Github.png;icons" --uac-admin main.py
pyinstaller.exe --onefile --name "snapcast-gui" --icon="icons/Snapcast.png" --add-data "icons/Snapcast.png;icons" --add-data "icons/Github.png;icons" --noconsole --uac-admin main.py
elif [ ${{ runner.os }} == 'macOS' ]; then
pyinstaller --onefile --name "snapcast-gui" --add-data "icons/Snapcast.png:icons" --add-data "icons/Github.png:icons" main.py
fi
Expand Down

0 comments on commit 991d769

Please sign in to comment.