-
Notifications
You must be signed in to change notification settings - Fork 15
/
mangareader-darwin-x86.spec
107 lines (102 loc) · 3.61 KB
/
mangareader-darwin-x86.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['reader.py'],
pathex=[],
binaries=[],
datas=[('mangareader/build/styles.css', 'mangareader/build'), ('mangareader/build/scripts.js', 'mangareader/build'), ('mangareader/static-assets/menu.svg', 'mangareader/static-assets'), ('mangareader/static-assets/menu-light.svg', 'mangareader/static-assets'), ('mangareader/static-assets/scroll.svg', 'mangareader/static-assets'), ('mangareader/static-assets/scroll-light.svg', 'mangareader/static-assets'), ('mangareader/static-assets/boot.template.html', 'mangareader/static-assets'), ('mangareader/static-assets/doc.template.html', 'mangareader/static-assets'), ('mangareader/static-assets/img.template.html', 'mangareader/static-assets'), ('mangareader/static-assets/roboto-regular.woff2', 'mangareader/static-assets'), ('mangareader/static-assets/roboto-bold.woff2', 'mangareader/static-assets'), ('mangareader/static-assets/zenscroll.js', 'mangareader/static-assets'), ('version', '.')],
hiddenimports=[],
hookspath=[],
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,
[],
exclude_binaries=True,
name='HTML Mangareader',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='icon/air.icns',
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='HTML Mangareader',
)
app = BUNDLE(
coll,
name='HTML Mangareader.app',
icon='icon/air.icns',
bundle_identifier=None,
info_plist={
'NSPrincipalClass': 'NSApplication',
'CFBundleDocumentTypes': [
{
'CFBundleTypeName': 'Images',
'CFBundleTypeRole': 'Viewer',
'LSItemContentTypes': [
'public.jpeg',
'public.png',
'com.compuserve.gif',
'org.webmproject.webp',
'com.microsoft.bmp',
'public.svg-image'
],
'LSHandlerRank': 'Default',
'NSExportableTypes': [
'public.jpeg',
'public.png',
'com.compuserve.gif',
'org.webmproject.webp',
'com.microsoft.bmp',
'public.svg-image'
]
},
{
'CFBundleTypeName': 'Comic book archives',
'CFBundleTypeRole': 'Viewer',
'LSItemContentTypes': [
'public.comic.archive',
'public.zip-archive',
'org.7-zip.7-zip-archive',
],
'NSExportableTypes': [
'public.comic.archive',
'public.zip-archive',
'org.7-zip.7-zip-archive',
]
}
],
'UTImportedTypeDeclarations': [
{
'UTTypeIdentifier': 'public.comic.archive',
'UTTypeDescription': 'Comic book archive',
'UTTypeConformsTo': ['public.data'],
'UTTypeTagSpecification': {
'public.filename-extension': ['cbz', 'cb7']
}
}
]
}
)