From b9f849ff2656d87a174dd540fddb2d9608bc20a5 Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 15 Oct 2021 12:49:18 +0200 Subject: [PATCH] Add icon and windowed mode to gui build Signed-off-by: Paul --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cb5f06f706..3c519d6e37 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -50,7 +50,7 @@ jobs: if: matrix.os != 'windows-latest' run: | git log -1 HEAD --format=%H > ./resources/commit_id - pyinstaller -F antarest/gui.py -n AntaresWebServer --hidden-import='antarest.dbmodel' --hidden-import='plyer.platforms.linux' --hidden-import='plyer.platforms.linux.notification' --additional-hooks-dir extra-hooks --add-data resources:resources --add-data alembic:alembic --add-data alembic.ini:. + pyinstaller -F antarest/gui.py --windowed --icon=resources/webapp/favicon.ico -n AntaresWebServer --hidden-import='antarest.dbmodel' --hidden-import='plyer.platforms.linux' --hidden-import='plyer.platforms.linux.notification' --additional-hooks-dir extra-hooks --add-data resources:resources --add-data alembic:alembic --add-data alembic.ini:. pyinstaller -F antarest/main.py -n TestWebServer --hidden-import='antarest.dbmodel' --additional-hooks-dir extra-hooks --add-data resources:resources --add-data alembic:alembic --add-data alembic.ini:. pyinstaller -F antarest/tools/cli.py -n AntaresTool --hidden-import='sqlalchemy.sql.default_comparator' --hidden-import='sqlalchemy.ext.baked' --additional-hooks-dir extra-hooks --add-data resources:resources dist/TestWebServer -v @@ -59,7 +59,7 @@ jobs: if: matrix.os == 'windows-latest' run: | git log -1 HEAD --format=%H > .\resources\commit_id - pyinstaller -F antarest\gui.py -n AntaresWebServer --hidden-import='antarest.dbmodel' --hidden-import='plyer.platforms.win' --hidden-import='plyer.platforms.win.notification' --additional-hooks-dir extra-hooks --add-data ".\resources;.\resources" --add-data ".\alembic;.\alembic" --add-binary ".\alembic.ini;.\alembic.ini" + pyinstaller -F antarest\gui.py --windowed --icon=resources/webapp/favicon.ico -n AntaresWebServer --hidden-import='antarest.dbmodel' --hidden-import='plyer.platforms.win' --hidden-import='plyer.platforms.win.notification' --additional-hooks-dir extra-hooks --add-data ".\resources;.\resources" --add-data ".\alembic;.\alembic" --add-binary ".\alembic.ini;.\alembic.ini" pyinstaller -F antarest\tools\cli.py -n AntaresTool --hidden-import='sqlalchemy.sql.default_comparator' --hidden-import='sqlalchemy.ext.baked' --additional-hooks-dir extra-hooks --add-data ".\resources;.\resources" dist\AntaresTool.exe --help - name: Archive binaries