mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
Significant support for Windows builds
This commit is contained in:
BIN
cmd/packages/windows/icon.png
Normal file
BIN
cmd/packages/windows/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
13
cmd/packages/windows/wails.exe.manifest
Normal file
13
cmd/packages/windows/wails.exe.manifest
Normal file
@@ -0,0 +1,13 @@
|
||||
<!-- HUGE thanks to tambre: https://stackoverflow.com/a/44989306 -->
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||
<assemblyIdentity type="win32" name="MyApplication" version="1.0.0.0" processorArchitecture="amd64"/>
|
||||
|
||||
<asmv3:application>
|
||||
<asmv3:windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware> <!-- fallback for Windows 7 and 8 -->
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">permonitorv2,permonitor</dpiAwareness> <!-- falls back to per-monitor if per-monitor v2 is not supported -->
|
||||
<gdiScaling xmlns="http://schemas.microsoft.com/SMI/2017/WindowsSettings">true</gdiScaling> <!-- enables GDI DPI scaling -->
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
</assembly>
|
||||
BIN
cmd/packages/windows/wails.ico
Normal file
BIN
cmd/packages/windows/wails.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 315 KiB |
2
cmd/packages/windows/wails.rc
Normal file
2
cmd/packages/windows/wails.rc
Normal file
@@ -0,0 +1,2 @@
|
||||
100 ICON "$NAME$.ico"
|
||||
100 24 "$NAME$.exe.manifest"
|
||||
Reference in New Issue
Block a user