safe rebranding: change upgrade code, windows class and name

This commit is contained in:
RomikB
2024-05-24 01:11:41 +02:00
parent 78f191f1e5
commit 06b49f71d2
2 changed files with 6 additions and 6 deletions

View File

@@ -11,13 +11,13 @@
<?define PlatformProgramFilesFolder = "ProgramFilesFolder"?>
<?endif?>
<?if $(var.WIREGUARD_PLATFORM) = "amd64"?>
<?define UpgradeCode = "5e5a1da5-ba36-404d-92ec-41050d1c799c"?>
<?define UpgradeCode = "876b57e4-4490-4442-a983-721ee141b00d"?>
<?elseif $(var.WIREGUARD_PLATFORM) = "x86"?>
<?define UpgradeCode = "62754a0a-fee9-4412-b739-e8da2e7c9405"?>
<?define UpgradeCode = "945200da-4a7e-4b02-a06f-00fcd09e48da"?>
<?elseif $(var.WIREGUARD_PLATFORM) = "arm"?>
<?define UpgradeCode = "f90bca59-9627-431d-92b4-a5c2d9a529ff"?>
<?define UpgradeCode = "220a4807-8e24-4594-9880-92034e062a57"?>
<?elseif $(var.WIREGUARD_PLATFORM) = "arm64"?>
<?define UpgradeCode = "7ff76099-8940-4d3e-99b9-50a3b3ca1ee9"?>
<?define UpgradeCode = "940bb00d-6a17-409c-93c6-0347e2dfed80"?>
<?else?>
<?error Unknown platform ?>
<?endif?>

View File

@@ -28,7 +28,7 @@ type ManageTunnelsWindow struct {
}
const (
manageWindowWindowClass = "WireGuard UI - Manage Tunnels"
manageWindowWindowClass = "AmneziaWG UI - Manage Tunnels"
raiseMsg = win.WM_USER + 0x3510
aboutWireGuardCmd = 0x37
)
@@ -55,7 +55,7 @@ func NewManageTunnelsWindow() (*ManageTunnelsWindow, error) {
}
mtw := new(ManageTunnelsWindow)
mtw.SetName("WireGuard")
mtw.SetName("AmneziaWG")
err = walk.InitWindow(mtw, nil, manageWindowWindowClass, win.WS_OVERLAPPEDWINDOW, win.WS_EX_CONTROLPARENT)
if err != nil {