From ab1aa8c3fbc68d33652016041d04f0cc047404c4 Mon Sep 17 00:00:00 2001 From: monosans Date: Wed, 8 May 2024 10:02:23 +0000 Subject: [PATCH] Use Nuitka standalone instead of onefile (#208) --- .github/workflows/ci.yml | 8 +++----- README.md | 4 +--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bafb370..ea2bc92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,12 +33,10 @@ jobs: cache: poetry check-latest: true - run: poetry install --only=main,nuitka --sync --no-root --extras=non-termux --no-interaction - - run: poetry run --no-interaction python -m nuitka --onefile --python-flag='-m' --prefer-source-code --assume-yes-for-downloads proxy_scraper_checker + - run: poetry run --no-interaction python -m nuitka --standalone --python-flag='-m' --assume-yes-for-downloads proxy_scraper_checker + - run: mv config.toml proxy_scraper_checker.dist/ - uses: actions/upload-artifact@v4 with: name: artifact-${{ matrix.os }} - path: | - config.toml - proxy_scraper_checker.bin - proxy_scraper_checker.exe + path: proxy_scraper_checker.dist/ if-no-files-found: error diff --git a/README.md b/README.md index 65f72c4..c0ab813 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,7 @@ You can get proxies obtained using this project in [monosans/proxy-list](https:/ ### Standalone executable -This is the easiest way, but it is only available for x86_64 Windows, x86_64/arm64 macOS and x86_64 Linux. Just download the archive for your OS from [nightly.link](https://nightly.link/monosans/proxy-scraper-checker/workflows/ci/main?preview), unzip it, edit `config.toml` and run the executable. - -If Windows Defender detects an executable file as a virus, please read [this](https://github.com/Nuitka/Nuitka/issues/2495#issuecomment-1762836583). +This is the easiest way, but it is only available for x86_64 Windows, x86_64/arm64 macOS and x86_64 Linux. Just download the archive for your OS from [nightly.link](https://nightly.link/monosans/proxy-scraper-checker/workflows/ci/main?preview), unzip it, edit `config.toml` and run the `proxy_scraper_checker` executable. ### Docker