forked from badabing2005/PixelFlasher
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build-on-linux.spec
64 lines (61 loc) · 2.14 KB
/
build-on-linux.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
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['PixelFlasher.py'],
pathex=[],
binaries=[('bin/7zzs', 'bin')],
datas=[
("images/icon-64.png", "images"),
("images/icon-dark-64.png", "images"),
('bin/busybox_arm64-v8a', 'bin'),
('bin/busybox_armeabi-v7a', 'bin'),
('bin/busybox_x86', 'bin'),
('bin/busybox_x86_64', 'bin'),
('bin/aapt2_arm64-v8a', 'bin'),
('bin/aapt2_armeabi-v7a', 'bin'),
('bin/aapt2_x86', 'bin'),
('bin/aapt2_x86_64', 'bin'),
('bin/avbctl', 'bin'),
('bin/update_engine_client_r28', 'bin'),
('bin/update_engine_client_r72', 'bin'),
('android_versions.json', '.'),
('android_devices.json', '.'),
('testkey_rsa4096.pem', '.')
],
hiddenimports=['_cffi_backend'],
hookspath=[],
runtime_hooks=[],
excludes=[
'bin/busybox_arm64-v8a',
'bin/busybox_armeabi-v7a',
'bin/busybox_x86',
'bin/busybox_x86_64',
'bin/aapt2_arm64-v8a',
'bin/aapt2_armeabi-v7a',
'bin/aapt2_x86',
'bin/aapt2_x86_64',
'bin/avbctl',
'bin/update_engine_client_r28',
'bin/update_engine_client_r72'
],
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='PixelFlasher',
debug=False,
strip=False,
upx=True,
console=False,
icon='images\\icon-dark-256.ico',
bootloader_ignore_signals=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None)