Remove Windows exe auto updater

This commit is contained in:
JonnyWong16 2020-12-24 15:26:35 -08:00
commit 6e160bb8f8
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
10 changed files with 14 additions and 280 deletions

View file

@ -3,7 +3,6 @@
import sys
sys.modules['FixTk'] = None
excludes = ['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter']
block_cipher = None
analysis = Analysis(
@ -13,27 +12,13 @@ analysis = Analysis(
('..\\data', 'data'),
('..\\CHANGELOG.md', '.'),
('..\\LICENSE', '.'),
('..\\branch.txt', '.'),
('..\\version.txt', '.'),
('..\\lib\\ipwhois\\data', 'data'),
('TautulliUpdateTask.xml', '.')
('..\\lib\\ipwhois\\data', 'data')
],
excludes=excludes,
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
hiddenimports=['pkg_resources.py2_warn', 'cheroot.ssl', 'cheroot.ssl.builtin'],
cipher=block_cipher
)
updater_analysis = Analysis(
['updater-windows.py'],
pathex=['lib'],
excludes=excludes,
cipher=block_cipher
)
MERGE(
(analysis, 'Tautulli', 'Tautulli'),
(updater_analysis, 'updater', 'updater')
)
pyz = PYZ(
analysis.pure,
analysis.zipped_data,
@ -54,24 +39,3 @@ coll = COLLECT(
analysis.datas,
name='Tautulli'
)
updater_pyz = PYZ(
updater_analysis.pure,
updater_analysis.zipped_data,
cipher=block_cipher
)
updater_exe = EXE(
updater_pyz,
updater_analysis.scripts,
exclude_binaries=True,
name='updater',
console=False,
icon='..\\data\\interfaces\\default\\images\\logo-circle.ico'
)
coll = COLLECT(
updater_exe,
updater_analysis.binaries,
updater_analysis.zipfiles,
updater_analysis.datas,
name='updater'
)