From cdc07c22ed9c3c7ec8279d1e920817b19c79f0e0 Mon Sep 17 00:00:00 2001 From: Kraust Date: Mon, 26 Feb 2024 06:44:41 -0500 Subject: [PATCH] Build with clang to try and bypass Windows Defender checks. (#13) * Updated OSCR dependency to 251. * Try building the release with an older version of nuitka. * Test. * Fixed release build. * Test build with OSCR icon. * Added icon. * Added Icon. * Try --clang * Remove --onefile. * Capture the correct artifacts. * Add --onefile back in. * Update version. --- .github/workflows/build.yml | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d53867..8d3a392 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - run: pip install . - run: pip install nuitka==2.0.4 - - run: python -m nuitka --standalone --enable-plugin=pyside6 --onefile --output-filename=OSCR --output-dir=dist main.py --disable-console --assume-yes-for-downloads --noinclude-qt-translations --include-data-files=./assets/*=./assets/ --windows-icon-from-ico=./assets/oscr_icon_small.ico + - run: python -m nuitka --standalone --enable-plugin=pyside6 --onefile --output-filename=OSCR --output-dir=dist main.py --disable-console --assume-yes-for-downloads --noinclude-qt-translations --include-data-files=./assets/*=./assets/ --windows-icon-from-ico=./assets/oscr_icon_small.ico --clang - uses: actions/upload-artifact@v2 with: name: build_binary diff --git a/main.py b/main.py index f658aa8..5a34fd0 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ class Launcher(): - version = '2024.2a252' + version = '2024.2a260' # holds the style of the app theme = {