forked from chengazhen/cursor-auto-free
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCursorKeepAlive.spec
46 lines (42 loc) · 940 Bytes
/
CursorKeepAlive.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- mode: python ; coding: utf-8 -*-
import os
a = Analysis(
['cursor_pro_keep_alive.py'],
pathex=[],
binaries=[],
datas=[
('turnstilePatch', 'turnstilePatch'),
('cursor_auth_manager.py', '.'),
],
hiddenimports=[
'cursor_auth_manager'
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)
target_arch = os.environ.get('TARGET_ARCH', None)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='CursorPro',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=True, # 对非Mac平台无影响
target_arch=target_arch, # 仅在需要时通过环境变量指定
codesign_identity=None,
entitlements_file=None,
icon=None
)