Skip to content

Commit

Permalink
<fix> fix build problem
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymousException committed Jun 5, 2024
1 parent c998a25 commit eb7bae6
Show file tree
Hide file tree
Showing 36 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Nuitak-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
standalone: true
enable-plugins: pyside6
windows-icon-from-ico: src/main.ico
noinclude-data-files: src\resource

- run: mkdir dist\windows
- run: xcopy src\resource dist\windows\resource /E
- run: xcopy build\main.dist dist\windows /E
- run: xcopy src\supported_language dist\windows\supported_language\
- run: xcopy src\unrpyc_python3 dist\windows\unrpyc_python3\
- run: xcopy src\unrpyc_python2 dist\windows\unrpyc_python2\
- run: xcopy src\qm dist\windows\qm\
- run: xcopy src\custom_engine dist\windows\custom_engine\
- run: copy src\custom.txt dist\windows\custom.txt
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/Pyinstaller-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
spec: "main.spec"

- run: cp -r src/supported_language src/dist/windows/main
- run: cp -r src/unrpyc_python3 src/dist/windows/main
- run: cp -r src/unrpyc_python2 src/dist/windows/main
- run: cp -r src/resource src/dist/windows/main
- run: cp -r src/qm src/dist/windows/main
- run: cp src/custom.txt src/dist/windows/main/custom.txt
- run: cp src/hook_unrpa.rpy src/dist/windows/main/hook_unrpa.rpy
Expand Down
4 changes: 2 additions & 2 deletions src/game_unpacker_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def run(self):
creationflags=0x08000000, text=True, encoding='utf-8')
zip_dir(self.dir + '/renpy/common', self.dir + '/common_backup.zip')
if is_python2(self.path):
copy_files_under_directory_to_directory(os.getcwd() + '/unrpyc_python2', self.dir)
copy_files_under_directory_to_directory(os.getcwd() + '/resource/unrpyc_python2', self.dir)
else:
copy_files_under_directory_to_directory(os.getcwd() + '/unrpyc_python3', self.dir)
copy_files_under_directory_to_directory(os.getcwd() + '/resource/unrpyc_python3', self.dir)
command = get_unrpyc_command(self.path)
if self.is_over_write:
command = command + ' --clobber'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit eb7bae6

Please sign in to comment.