diff --git a/branding/assets/default b/branding/assets/default new file mode 120000 index 0000000000000000000000000000000000000000..f0a0a645f1f5edec052d8ee623d5695a7de17da1 --- /dev/null +++ b/branding/assets/default @@ -0,0 +1 @@ +riseup \ No newline at end of file diff --git a/branding/assets/riseup/icon.icns b/branding/assets/riseup/icon.icns new file mode 100755 index 0000000000000000000000000000000000000000..c65c9e17938b3dae0ae392d3e853684dd8e0237d Binary files /dev/null and b/branding/assets/riseup/icon.icns differ diff --git a/branding/assets/riseup/icon.ico b/branding/assets/riseup/icon.ico new file mode 100755 index 0000000000000000000000000000000000000000..c65c9e17938b3dae0ae392d3e853684dd8e0237d Binary files /dev/null and b/branding/assets/riseup/icon.ico differ diff --git a/icon.svg b/branding/assets/riseup/icon.svg similarity index 100% rename from icon.svg rename to branding/assets/riseup/icon.svg diff --git a/pkg/systray/notificator.go b/pkg/systray/notificator.go index 41797590b072842b1dcf5606704254f247b915ee..a26c7d8316986c79510024492a9aa873cc47702b 100644 --- a/pkg/systray/notificator.go +++ b/pkg/systray/notificator.go @@ -116,7 +116,7 @@ func getIconPath() string { if fileExist(icoPath) { return icoPath } - icoPath = path.Join(gopath, "src", "0xacab.org", "leap", "riseup_vpn", "assets", "riseupvpn.ico") + icoPath = path.Join(gopath, "src", "0xacab.org", "leap", "bitmask-vpn", "branding", "assets", "default", "icon.ico") if fileExist(icoPath) { return icoPath } @@ -128,7 +128,8 @@ func getIconPath() string { if fileExist(icnsPath) { return icnsPath } - icnsPath = path.Join(gopath, "src", "0xacab.org", "leap", "riseup_vpn", "assets", "riseupvpn.icns") + + icnsPath = path.Join(gopath, "src", "0xacab.org", "leap", "bitmask-vpn", "branding", "assets", "default", "icon.icns") if fileExist(icnsPath) { return icnsPath } @@ -151,7 +152,7 @@ func getIconPath() string { return svgPath } - svgPath = path.Join(gopath, "src", "0xacab.org", "leap", "bitmask-vpn", svgFileName) + svgPath = path.Join(gopath, "src", "0xacab.org", "leap", "bitmask-vpn", "branding", "assets", "default", svgFileName) if fileExist(svgPath) { return svgPath }