diff --git a/pyinstaller.spec b/pyinstaller.spec index 23c9a45..4c7b47b 100644 --- a/pyinstaller.spec +++ b/pyinstaller.spec @@ -4,31 +4,42 @@ block_cipher = None -a = Analysis(['main.py'], - pathex=['C:\\Users\\gusta\\Desktop\\Projetos\\Last.fm\\Last.fm-Discord-Rich-Presence'], - binaries=[], - datas=[], - hiddenimports=['pystray._win32'], - hookspath=['hooks'], - runtime_hooks=[], - excludes=[], - win_no_prefer_redirects=False, - win_private_assemblies=False, - cipher=block_cipher, - noarchive=False) -pyz = PYZ(a.pure, a.zipped_data, - cipher=block_cipher) -exe = EXE(pyz, - a.scripts, - a.binaries, - a.zipfiles, - a.datas, - [], - name='Last.fm Discord Rich Presence', - debug=False, - bootloader_ignore_signals=False, - strip=False, - upx=True, - upx_exclude=[], - runtime_tmpdir=None, - console=False , icon='assets\\icon.ico') +a = Analysis( + ['main.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=['pystray._win32'], + hookspath=['hooks'], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, +) +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + [], + name='Last.fm Discord Rich Presence', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=False, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + icon=['assets\\icon.ico'], +)