forked from r4sas/PBinCLI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pbincli.spec
67 lines (63 loc) · 2.18 KB
/
pbincli.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
# -*- mode: python -*-
from pkg_resources import parse_version
from PyInstaller.utils.win32.versioninfo import VSVersionInfo, FixedFileInfo, StringFileInfo, StringTable, StringStruct, VarFileInfo, VarStruct
from pbincli.__init__ import __version__ as pbincli_version, __copyright__ as pbincli_copyright
pbincli_ver = parse_version(pbincli_version)
block_cipher = None
a = Analysis(['pbincli\\cli.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
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='pbincli-' + pbincli_version,
version=VSVersionInfo(
ffi=FixedFileInfo(
filevers=(pbincli_ver.major, pbincli_ver.minor, pbincli_ver.micro, 0),
prodvers=(pbincli_ver.major, pbincli_ver.minor, pbincli_ver.micro, 0),
mask=0x3f,
flags=0x0,
OS=0x40004,
fileType=0x1,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo([
StringTable(
u'040904B0',
[
StringStruct(u'FileDescription', u'PrivateBin CLI'),
StringStruct(u'FileVersion', pbincli_version),
StringStruct(u'InternalName', u'pbincli'),
StringStruct(u'LegalCopyright', pbincli_copyright),
StringStruct(u'OriginalFilename', u'pbincli-' + pbincli_version + u'.exe'),
StringStruct(u'ProductName', u'PBinCLI'),
StringStruct(u'ProductVersion', pbincli_version)
]
)
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
),
icon=['contrib\\privatebin.ico'],
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
runtime_tmpdir=None,
console=True)