Skip to content

Commit a5ea46b

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents fb21116 + 699f1d5 commit a5ea46b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lnp.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ if sys.platform == 'win32':
1515
s = self.old_toprettyxml(indent, newl, encoding)
1616
# Make sure we only modify our own manifest
1717
if 'name="lnp"' in s:
18-
d = indent + '<dpiAware>false</dpiAware>' + newl
19-
s =s.replace('</assembly>',d+'</assembly>')
18+
d = indent + '<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"><windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"><dpiAware>false</dpiAware></windowsSettings></asmv3:application>' + newl
19+
s = s.replace('</assembly>',d+'</assembly>')
2020
return s
2121
Manifest.toprettyxml = new_toprettyxml
2222

@@ -59,7 +59,7 @@ pyz = PYZ(a.pure)
5959
if sys.platform != 'darwin':
6060
exe = EXE(
6161
pyz, a.scripts, a.binaries, a.zipfiles, a.datas, name='PyLNP'+extension,
62-
debug=False, strip=None, upx=True, console=False, icon='LNP.ico')
62+
debug=False, strip=None, upx=False, console=False, icon='LNP.ico')
6363
else:
6464
info = {'NSHighResolutionCapable': 'True'}
6565
exe = EXE(

0 commit comments

Comments
 (0)