Skip to content

Commit

Permalink
Version 0.2.3
Browse files Browse the repository at this point in the history
Fixed Windows CI build (K0lb3/UnityPy#184)
  • Loading branch information
mos9527 committed Jun 12, 2024
1 parent 4b998a5 commit 9465707
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
twine upload ./dist/*.tar.gz --skip-existing
- name: Build Windows executables
run: |
pyinstaller -F -i NONE sssekai/__main__.py --name sssekai
pyinstaller sssekai.spec
- name : Get Version
id : get_version
run : |
Expand Down
43 changes: 43 additions & 0 deletions sssekai.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# -*- mode: python ; coding: utf-8 -*-

# https://github.com/K0lb3/UnityPy/issues/184
import UnityPy, os
unitypy_path = lambda path: os.path.join(os.path.dirname(UnityPy.__file__), path)
a = Analysis(
['sssekai\\__main__.py'],
pathex=[],
binaries=[],
datas=[
(unitypy_path('resources/*'), 'UnityPy/resources'),
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='sssekai',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='NONE',
)
2 changes: 1 addition & 1 deletion sssekai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__VERSION_MAJOR__ = 0
__VERSION_MINOR__ = 2
__VERSION_PATCH__ = 2
__VERSION_PATCH__ = 3

__version__ = '%s.%s.%s' % (__VERSION_MAJOR__,__VERSION_MINOR__,__VERSION_PATCH__)

0 comments on commit 9465707

Please sign in to comment.