Use Nuitka standalone instead of onefile (#208)

This commit is contained in:
monosans
2024-05-08 10:02:23 +00:00
committed by GitHub
parent 6de2dc8a2c
commit ab1aa8c3fb
2 changed files with 4 additions and 8 deletions
+3 -5
View File
@@ -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
+1 -3
View File
@@ -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