From 991d7694eab5c73a29440329ba7fcdaf6851886c Mon Sep 17 00:00:00 2001 From: Francesco <66080458+chicco-carone@users.noreply.github.com> Date: Sat, 2 Nov 2024 10:20:03 +0100 Subject: [PATCH] Update build-and-release.yml --- .github/workflows/build-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index b5fc463..a94be6e 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -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: | @@ -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