Skip to content

Commit

Permalink
Fixed binary freezing
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Mar 13, 2019
1 parent 5e40dd8 commit 110f3f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Hooks/hook-checksumdir.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import copy_metadata

datas = copy_metadata("checksumdir")
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install:
- "%PYTHON%\\python.exe -m pip install certifi https://github.com/pyinstaller/pyinstaller/archive/develop.zip"

build_script:
- "pyinstaller -y -F -i CurseBreaker.ico -n CurseBreaker -c --noupx CurseBreaker.py"
- "pyinstaller --additional-hooks-dir=Hooks/ -y -F -i CurseBreaker.ico -n CurseBreaker -c --noupx CurseBreaker.py"

after_build:
- ps: Get-ChildItem .\dist\CurseBreaker* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
Expand Down

0 comments on commit 110f3f1

Please sign in to comment.