Skip to content

Commit

Permalink
fix: fixed PyInstaller issue with pyconfig.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Roth committed Aug 27, 2019
1 parent 76cecbb commit 2d5b0aa
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lokilogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import socket
from helpers import removeNonAsciiDrop

__version__ = '0.30.0'
__version__ = '0.30.1'

# Logger Class -----------------------------------------------------------------
class LokiLogger():
Expand Down
2 changes: 2 additions & 0 deletions loki-noprivrules-win2003sup.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ a = Analysis(['loki.py'],
runtime_hooks=None)
pyz = PYZ(a.pure)

a.datas = list({tuple(map(str.upper, t)) for t in a.datas})

exe = EXE(pyz,
a.scripts,
a.binaries + [('msvcr100.dll', 'C:\Windows\System32\msvcr100.dll', 'BINARY')],
Expand Down
2 changes: 2 additions & 0 deletions loki-noprivrules.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ a = Analysis(['loki.py'],
runtime_hooks=None)
pyz = PYZ(a.pure)

a.datas = list({tuple(map(str.upper, t)) for t in a.datas})

exe = EXE(pyz,
a.scripts,
a.binaries,
Expand Down
1 change: 1 addition & 0 deletions loki-privrules-win2003sup.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ a = Analysis(['loki.py'],
hookspath=None,
runtime_hooks=None)

a.datas = list({tuple(map(str.upper, t)) for t in a.datas})
a.datas+=[('rules', 'rules', 'DATA')]
a.datas+=[('rules.key', 'rules.key', 'DATA')]

Expand Down
2 changes: 2 additions & 0 deletions loki-privrules.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ a = Analysis(['loki.py'],
hookspath=None,
runtime_hooks=None)

a.datas = list({tuple(map(str.upper, t)) for t in a.datas})
a.datas+=[('rules', 'rules', 'DATA')]
a.datas+=[('rules.key', 'rules.key', 'DATA')]


pyz = PYZ(a.pure)

exe = EXE(pyz,
Expand Down
2 changes: 2 additions & 0 deletions loki-upgrader-win2003sup.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ a = Analysis(['loki-upgrader.py'],
runtime_hooks=None)
pyz = PYZ(a.pure)

a.datas = list({tuple(map(str.upper, t)) for t in a.datas})

exe = EXE(pyz,
a.scripts,
a.binaries + [('msvcr100.dll', 'C:\Windows\System32\msvcr100.dll', 'BINARY')],
Expand Down
2 changes: 2 additions & 0 deletions loki-upgrader.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ a = Analysis(['loki-upgrader.py'],
runtime_hooks=None)
pyz = PYZ(a.pure)

a.datas = list({tuple(map(str.upper, t)) for t in a.datas})

exe = EXE(pyz,
a.scripts,
a.binaries,
Expand Down

0 comments on commit 2d5b0aa

Please sign in to comment.