safe rebranding: change copyright and website

This commit is contained in:
RomikB committed 2024-05-06 19:02:20 +02:00
1 parent 4c74b9fe3d
commit 1470c88593
3 files changed
+13 -26

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@
Name="AmneziaWG"
Language="1033"
Version="$(var.WIREGUARD_VERSION)"
Manufacturer="WireGuard LLC"
Manufacturer="Amnezia"
UpgradeCode="$(var.UpgradeCode)">
<Package
InstallerVersion="500"
@@ -43,7 +43,7 @@
<Binary Id="customactions.dll" SourceFile="$(var.WIREGUARD_PLATFORM)\customactions.dll" />
<Property Id="ARPPRODUCTICON" Value="wireguard.ico" />
<Property Id="ARPURLINFOABOUT" Value="https://www.wireguard.com/" />
<Property Id="ARPURLINFOABOUT" Value="https://amnezia.org/" />
<Property Id="ARPNOMODIFY" Value="yes" />
<Property Id="DISABLEADVTSHORTCUTS" Value="yes" />
<Property Id="DISABLEROLLBACK" Value="yes" />
+8 -8
View File
@@ -27,11 +27,11 @@ BEGIN \
BEGIN \
BLOCK block_id \
BEGIN \
VALUE "CompanyName", "WireGuard LLC" \
VALUE "CompanyName", "Amnezia" \
VALUE "FileDescription", file_desc \
VALUE "FileVersion", EXPAND(WIREGUARD_VERSION_STR) \
VALUE "InternalName", "amneziawg-windows-client" \
VALUE "LegalCopyright", "Copyright © 2015-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved." \
VALUE "LegalCopyright", "Copyright © 2015-2022 Jason A. Donenfeld. WireGuard is a trademark of Jason A. Donenfeld.\nCopyright © 2024 AmneziaVPN. AmneziaWG is based on WireGuard, changes and modifications made by AmneziaVPN. All Rights Reserved." \
VALUE "OriginalFilename", "amneziawg.exe" \
VALUE "ProductName", "AmneziaWG" \
VALUE "ProductVersion", EXPAND(WIREGUARD_VERSION_STR) \
@@ -48,40 +48,40 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"040904b0", 0x409, 0x4b0,
"AmneziaWG: Fast, Modern, Secure VPN Tunnel",
"https://www.wireguard.com/"
"https://amnezia.org/"
)
LANGUAGE LANG_FRENCH, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"040c04b0", 0x40c, 0x4b0,
"AmneziaWG: tunnel VPN rapide, moderne, sécurisé",
"https://www.wireguard.com/"
"https://amnezia.org/"
)
LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"041004b0", 0x410, 0x4b0,
"AmneziaWG: Tunnel VPN veloce, moderno e sicuro",
"https://www.wireguard.com/"
"https://amnezia.org/"
)
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"041104b0", 0x411, 0x4b0,
"AmneziaWG: 高速で、現代的で、セキュアな VPN トンネル",
"https://www.wireguard.com/"
"https://amnezia.org/"
)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"042404b0", 0x424, 0x4b0,
"AmneziaWG: hiter, sodoben, varen tunel VPN",
"https://www.wireguard.com/"
"https://amnezia.org/"
)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
VERSIONINFO_TEMPLATE(
"040404b0", 0x404, 0x4b0,
"AmneziaWG:快速、現代、安全的 VPN 隧道",
"https://www.wireguard.com/"
"https://amnezia.org/"
)
+3 -16
View File
@@ -65,7 +65,7 @@ func runAboutDialog(owner walk.Form) error {
iv.SetCursor(walk.CursorHand())
iv.MouseUp().Attach(func(x, y int, button walk.MouseButton) {
if button == walk.LeftButton {
win.ShellExecute(showingAboutDialog.Handle(), nil, windows.StringToUTF16Ptr("https://www.wireguard.com/"), nil, nil, win.SW_SHOWNORMAL)
win.ShellExecute(showingAboutDialog.Handle(), nil, windows.StringToUTF16Ptr("https://amnezia.org/"), nil, nil, win.SW_SHOWNORMAL)
} else if easterEggIndex >= 0 && button == walk.RightButton {
if icon, err := loadSystemIcon("moricons", int32(easterEggIndex), 128); err == nil {
iv.SetImage(icon)
@@ -106,7 +106,7 @@ func runAboutDialog(owner walk.Form) error {
copyrightFont, _ := walk.NewFont("Segoe UI", 7, 0)
copyrightLbl.SetFont(copyrightFont)
copyrightLbl.SetTextAlignment(walk.AlignHCenterVNear)
copyrightLbl.SetText("Copyright © 2015-2022 Jason A. Donenfeld. All Rights Reserved.")
copyrightLbl.SetText("Copyright © 2015-2022 Jason A. Donenfeld.\nCopyright © 2024 AmneziaVPN. AmneziaWG is based on WireGuard,\nchanges and modifications made by AmneziaVPN. All Rights Reserved.")
buttonCP, err := walk.NewComposite(showingAboutDialog)
if err != nil {
@@ -123,22 +123,9 @@ func runAboutDialog(owner walk.Form) error {
closePB.SetAlignment(walk.AlignHCenterVNear)
closePB.SetText(l18n.Sprintf("Close"))
closePB.Clicked().Attach(showingAboutDialog.Accept)
donatePB, err := walk.NewPushButton(buttonCP)
if err != nil {
return err
}
donatePB.SetAlignment(walk.AlignHCenterVNear)
donatePB.SetText(l18n.Sprintf("♥ &Donate!"))
donatePB.Clicked().Attach(func() {
if easterEggIndex == -1 {
easterEggIndex = 0
}
win.ShellExecute(showingAboutDialog.Handle(), nil, windows.StringToUTF16Ptr("https://www.wireguard.com/donations/"), nil, nil, win.SW_SHOWNORMAL)
showingAboutDialog.Accept()
})
walk.NewHSpacer(buttonCP)
showingAboutDialog.SetDefaultButton(donatePB)
showingAboutDialog.SetDefaultButton(closePB)
showingAboutDialog.SetCancelButton(closePB)
disposables.Spare()