mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-21 05:43:22 -07:00
Add workflow for automated Windows/MacOS builds
This commit is contained in:
parent
d8f223327e
commit
6c8d6ed2ca
10 changed files with 535 additions and 10 deletions
49
package/Tautulli-macos.spec
Normal file
49
package/Tautulli-macos.spec
Normal file
|
@ -0,0 +1,49 @@
|
|||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
sys.modules['FixTk'] = None
|
||||
|
||||
import os
|
||||
VERSION = os.getenv('VERSION', '0.0.0')
|
||||
|
||||
block_cipher = None
|
||||
|
||||
analysis = Analysis(
|
||||
['../Tautulli.py'],
|
||||
pathex=['lib'],
|
||||
datas=[
|
||||
('../data', 'data'),
|
||||
('../CHANGELOG.md', '.'),
|
||||
('../LICENSE', '.'),
|
||||
('../version.txt', '.')
|
||||
],
|
||||
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
|
||||
cipher=block_cipher
|
||||
)
|
||||
pyz = PYZ(
|
||||
analysis.pure,
|
||||
analysis.zipped_data,
|
||||
cipher=block_cipher
|
||||
)
|
||||
exe = EXE(
|
||||
pyz,
|
||||
analysis.scripts,
|
||||
exclude_binaries=True,
|
||||
name='Tautulli',
|
||||
console=False,
|
||||
icon='../data/interfaces/default/images/logo-circle.icns'
|
||||
)
|
||||
coll = COLLECT(
|
||||
exe,
|
||||
analysis.binaries,
|
||||
analysis.zipfiles,
|
||||
analysis.datas,
|
||||
name='Tautulli'
|
||||
)
|
||||
app = BUNDLE(
|
||||
coll,
|
||||
name='Tautulli.app',
|
||||
icon='../data/interfaces/default/images/logo-circle.icns',
|
||||
bundle_identifier='com.Tautulli.Tautulli',
|
||||
version=VERSION
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue