forked from schorschii/LAPS4LINUX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
laps-client.macos.spec
82 lines (74 loc) · 2.48 KB
/
laps-client.macos.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
gui_a = Analysis(['laps-gui.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
cli_a = Analysis(['laps-cli.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
MERGE( (gui_a, 'laps-gui', 'laps-gui'), (cli_a, 'laps-cli', 'laps-cli') )
gui_pyz = PYZ(gui_a.pure, gui_a.zipped_data, cipher=block_cipher)
gui_exe = EXE(gui_pyz, gui_a.scripts, [],
exclude_binaries=True,
name='laps-gui',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )
cli_pyz = PYZ(cli_a.pure, cli_a.zipped_data, cipher=block_cipher)
cli_exe = EXE(cli_pyz, cli_a.scripts, [],
exclude_binaries=True,
name='laps-cli',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )
coll = COLLECT(gui_exe, gui_a.binaries, gui_a.zipfiles, gui_a.datas,
cli_exe, cli_a.binaries, cli_a.zipfiles, cli_a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='LAPS4LINUX')
app = BUNDLE(coll,
name='LAPS4LINUX.app',
icon='assets/laps.icns',
bundle_identifier='systems.sieber.laps4mac',
version='1.7.1',
info_plist={
'CFBundleURLTypes': [
{
'CFBundleURLName': 'Local Administrator Password Solution',
'CFBundleURLSchemes': ['laps']
}
]
})