mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
Actions: DPI awareness to Win
This commit is contained in:
parent
2e13158bf8
commit
9fa6a5cf33
6
.github/workflows/windows-x64.yml
vendored
6
.github/workflows/windows-x64.yml
vendored
@ -119,6 +119,12 @@ jobs:
|
||||
run: |
|
||||
choco install visualstudio2019community --package-parameters "--add Microsoft.VisualStudio.Component.VC.Redist.MSM"
|
||||
|
||||
- name: DPI awareness
|
||||
shell: powershell
|
||||
run: |
|
||||
$env:PATH += ";C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64"
|
||||
mt.exe -manifest .\resources\win\yubioath-desktop.exe.manifest -outputresource:.\release\yubioath-desktop.exe
|
||||
|
||||
- name: Create an unsigned .msi installer package
|
||||
run: |
|
||||
$env:PATH += ";$env:WIX\bin"
|
||||
|
11
resources/win/yubioath-desktop.exe.manifest
Normal file
11
resources/win/yubioath-desktop.exe.manifest
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
|
||||
<!-- Indicate high API awareness (Win Vista and later) -->
|
||||
<!-- (if you support per-monitor high DPI, set this to "True/PM") -->
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
Loading…
Reference in New Issue
Block a user