-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixing #144 Remove HDR not working (thanks to Chad Johnson) * Fixing #135 color information wasn't passed through correctly (thanks to leonardyan) * Fixing #143 by adding legacy windows builds with Python 3.8 for time being (thanks to odignal) * Fixing queue breaks if there is an error during conversion * Fixing Remove HDR doesn't stay selected when returning item from queue * Fixing resolution doesn't stay after returning from queue * Fixing thumbnail generation preview for videos with arib-std-b67 color transfer
- Loading branch information
1 parent
928e7d2
commit 0f22dc7
Showing
19 changed files
with
339 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: Build executables for Windows 7 (legacy) | ||
on: | ||
push: | ||
branches: [ master, develop, build ] | ||
pull_request: | ||
branches: [ master, develop ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2019 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Gather build version | ||
shell: powershell | ||
run: | | ||
mkdir dist | ||
New-Item -Path Env: -Name VERSION -Value $(python.exe scripts\get_version.py) | ||
echo "Building branch $env:GITHUB_REF - version $env:VERSION" | ||
echo "::set-env name=VERSION::$env:VERSION" | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
|
||
- name: Insatll requirements | ||
shell: cmd | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade pypiwin32 wheel | ||
python -m pip install -r requirements-build.txt | ||
- name: Grab iso-639 lists | ||
shell: powershell | ||
run: | | ||
copy $(python -c "import iso639; print(iso639.mapping.TABLE_PATH)") iso-639-3.tab | ||
copy $(python -c "import iso639; print(iso639.mapping.MAPPING_PATH)") iso-639-3.json | ||
- name: Build single executable | ||
shell: cmd | ||
run: pyinstaller FastFlix_Windows_OneFile.spec | ||
|
||
- name: Build installer executable | ||
shell: cmd | ||
run: pyinstaller FastFlix_Windows_Installer.spec | ||
|
||
- name: Package installer | ||
shell: cmd | ||
run: | | ||
makensis.exe FastFlix.nsi | ||
move FastFlix_installer.exe FastFlix_${{ env.VERSION }}_installer.exe | ||
- name: Test executable | ||
run: | | ||
dist\FastFlix.exe --version | ||
dist\FastFlix.exe --test | ||
- name: Package single executable | ||
shell: cmd | ||
run: | | ||
move dist\*.exe . | ||
move docs\build-licenses.txt LICENSE | ||
- name: Upload standalone executable artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FastFlix_${{ env.VERSION }}_win64_windows7 | ||
path: | | ||
FastFlix.exe | ||
LICENSE | ||
- name: Upload installer artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FastFlix_${{ env.VERSION }}_installer_windows7 | ||
path: FastFlix_${{ env.VERSION }}_installer.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.