diff options
Diffstat (limited to '')
-rw-r--r-- | manifest.xml (renamed from ui/manifest.xml) | 14 | ||||
-rw-r--r-- | ui/ui.go | 2 |
2 files changed, 14 insertions, 2 deletions
diff --git a/ui/manifest.xml b/manifest.xml index a14c4be4..72e407d3 100644 --- a/ui/manifest.xml +++ b/manifest.xml @@ -1,6 +1,18 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> - <assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="wireguard-manager" type="win32"/> + <assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="wireguard" type="win32"/> + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!-- Windows 10 --> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> + <!-- Windows 8.1 --> + <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> + <!-- Windows 8 --> + <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> + <!-- Windows 7 --> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> + </application> + </compatibility> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/> @@ -28,7 +28,7 @@ AllowedIPs = 0.0.0.0/0 ` func RunUI() { - icon, _ := walk.NewIconFromResourceId(8) + icon, _ := walk.NewIconFromResourceId(1) mw, _ := walk.NewMainWindowWithName("WireGuard") tray, _ := walk.NewNotifyIcon(mw) |