Skip to content

Commit

Permalink
* Fixing too long of log file names could crash (thanks to ProFile)
Browse files Browse the repository at this point in the history
* Removing code signing as cert has expired
  • Loading branch information
cdgriffith committed Nov 20, 2024
1 parent 8439ef5 commit 0515b04
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,31 +124,31 @@ jobs:
shell: cmd
run: pyinstaller FastFlix_Windows_Installer.spec

- uses: skymatic/code-sign-action@v1
with:
certificate: '${{ secrets.CODE_CERT_B64 }}'
password: '${{ secrets.CODE_CERT_PASS }}'
certificatesha1: '${{ secrets.CODE_CERT_THUMB }}'
description: 'FastFlix'
timestampUrl: 'http://timestamp.sectigo.com'
folder: 'dist\FastFlix'
recursive: false
# - uses: skymatic/code-sign-action@v1
# with:
# certificate: '${{ secrets.CODE_CERT_B64 }}'
# password: '${{ secrets.CODE_CERT_PASS }}'
# certificatesha1: '${{ secrets.CODE_CERT_THUMB }}'
# description: 'FastFlix'
# timestampUrl: 'http://timestamp.sectigo.com'
# folder: 'dist\FastFlix'
# recursive: false

- name: Package installer
shell: cmd
run: |
makensis.exe /INPUTCHARSET UTF8 /DVERSION=${{ env.EXACT_VERSION }} /DPRODUCT_VERSION=${{ env.PRODUCT_VERSION }} FastFlix.nsi
move FastFlix_installer.exe dist\FastFlix_${{ env.VERSION }}_installer.exe
- uses: skymatic/code-sign-action@v1
with:
certificate: '${{ secrets.CODE_CERT_B64 }}'
password: '${{ secrets.CODE_CERT_PASS }}'
certificatesha1: '${{ secrets.CODE_CERT_THUMB }}'
description: 'FastFlix'
timestampUrl: 'http://timestamp.sectigo.com'
folder: 'dist'
recursive: false
# - uses: skymatic/code-sign-action@v1
# with:
# certificate: '${{ secrets.CODE_CERT_B64 }}'
# password: '${{ secrets.CODE_CERT_PASS }}'
# certificatesha1: '${{ secrets.CODE_CERT_THUMB }}'
# description: 'FastFlix'
# timestampUrl: 'http://timestamp.sectigo.com'
# folder: 'dist'
# recursive: false

- name: Test executable
run: |
Expand Down
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

* Fixing #610 Do not try to divide by zero if HDR metadata has bad values (thanks to Noelle Leigh)
* Fixing #616 replace correct cmd line option for IDC level (thanks to pkleinejaeger)
* Fixing too long of log file names could crash (thanks to ProFile)
* Removing code signing as cert has expired

## Version 5.8.1

Expand Down
2 changes: 1 addition & 1 deletion fastflix/conversion_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def start_command():
log_queue.put(f"CLEAR_WINDOW:{video_uuid}:{command_uuid}")
reusables.remove_file_handlers(logger)
new_file_handler = reusables.get_file_handler(
log_path / sanitize_filename(f"flix_conversion_{log_name}_{file_date()}.log"),
log_path / sanitize_filename(f"flix_conversion_{log_name[:64]}_{file_date()}.log"),
level=logging.DEBUG,
log_format="%(asctime)s - %(message)s",
encoding="utf-8",
Expand Down

0 comments on commit 0515b04

Please sign in to comment.