mirror of
https://github.com/thewesker/lazy-dsi-file-downloader.git
synced 2025-12-20 04:21:09 -05:00
Compare commits
3 Commits
macostest1
...
macostest5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50d06876ad | ||
|
|
5937d32b87 | ||
|
|
6367e8f8cc |
10
.github/workflows/executables.yml
vendored
10
.github/workflows/executables.yml
vendored
@@ -31,12 +31,12 @@ jobs:
|
||||
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
|
||||
- name: Make binary
|
||||
run: |
|
||||
pyinstaller --onefile --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}" main.py
|
||||
pyinstaller --onefile --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-Windows" main.py
|
||||
cd dist
|
||||
- name: Publish builds
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: dist/lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}.exe
|
||||
path: dist/lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-Windows.exe
|
||||
name: windows
|
||||
|
||||
python:
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
run: |
|
||||
mkdir temporary
|
||||
cp -r certifi chardet Darwin idna Linux requests urllib3 tkmacosx temporary/
|
||||
cp LICENSE main.py README.md temporary/
|
||||
cp LICENSE main.py colour.py README.md temporary/
|
||||
cd temporary
|
||||
chmod +x main.py
|
||||
zip -r ../lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-Python3.zip *
|
||||
@@ -79,10 +79,10 @@ jobs:
|
||||
pip3 install pyinstaller
|
||||
- name: Get tag
|
||||
id: vars
|
||||
run: echo::set-output name=tag::${GITHUB_REF#refs/*/}
|
||||
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
|
||||
- name: Create executable
|
||||
run: |
|
||||
pyinstaller --onefile --add-data "tkmacosx;tkmacosx" --add-data "Darwin;Darwin" --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS" main.py
|
||||
pyinstaller --onefile --add-data "colour.py:." --add-data "tkmacosx:tkmacosx" --add-data "Darwin:Darwin" --add-data "certifi:certifi" --add-data "requests:requests" --add-data "urllib3:urllib3" --add-data "lazy.ico:." --add-data "chardet:chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS" main.py
|
||||
cd dist
|
||||
chmod +x lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS
|
||||
zip ../lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS.zip lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS
|
||||
|
||||
Reference in New Issue
Block a user