Skip to content

Commit

Permalink
Create macosscript.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
awdev1 authored Oct 13, 2024
1 parent 7b659cd commit e2e41a9
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions macosscript.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# -*- mode: python ; coding: utf-8 -*-

block_cipher = None

a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[('startup.mp3', '.'), ('config.json', '.')],
hiddenimports=['pypresence', 'pygame'],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='Vector24',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
icon='icon.icns'
)

app = BUNDLE(
exe,
name='Vector24.app',
icon='icon.icns',
bundle_identifier='com.awdev.vector24',
)

0 comments on commit e2e41a9

Please sign in to comment.