개정판 51ea2db9
Add App.manifest
Change-Id: I122db532bb4750c14e952482a626c3edee625fff
App.manifest | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
2 |
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> |
|
3 |
<assemblyIdentity name="firmware_updater" processorArchitecture="amd64" type="win32" version="1.0.0.0"/> |
|
4 |
<dependency> |
|
5 |
<dependentAssembly> |
|
6 |
<assemblyIdentity language="*" name="Microsoft.Windows.Common-Controls" processorArchitecture="amd64" publicKeyToken="6595b64144ccf1df" type="win32" version="6.0.0.0"/> |
|
7 |
</dependentAssembly> |
|
8 |
</dependency> |
|
9 |
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> |
|
10 |
<security> |
|
11 |
<requestedPrivileges> |
|
12 |
<requestedExecutionLevel |
|
13 |
level="requireAdministrator" |
|
14 |
uiAccess="false" |
|
15 |
/> |
|
16 |
</requestedPrivileges> |
|
17 |
</security> |
|
18 |
</trustInfo> |
|
19 |
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> |
|
20 |
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> |
|
21 |
<dpiAware>true</dpiAware> |
|
22 |
</asmv3:windowsSettings> |
|
23 |
</asmv3:application> |
|
24 |
</assembly> |
build.bat | ||
---|---|---|
1 | 1 |
%VIRTUALENV_38X86% %WORKSPACE%\.venv |
2 |
%WORKSPACE%\.venv\scripts\activate.bat & pip install -r .\requirements.txt & pyinstaller --uac-admin .\App.spec --onedir -p PyQt5 -w --log-level=DEBUG -y & deactivate
|
|
2 |
%WORKSPACE%\.venv\scripts\activate.bat & pip install -r .\requirements.txt & pyinstaller -m .\App.manifest .\App.spec --onedir -p PyQt5 -w --log-level=DEBUG -y & deactivate
|
|
3 | 3 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
4 | 4 |
|
5 | 5 |
:EOF |
내보내기 Unified diff