summaryrefslogtreecommitdiff
path: root/pkg/systray/notificator.go
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-07-01 19:33:53 +0200
committerRuben Pollan <meskio@sindominio.net>2019-08-05 11:45:58 -0400
commit336cae5cdf073b74df702c6220504ea0a463469b (patch)
tree259da55c6d9e1445e40104a52d83058bc3077351 /pkg/systray/notificator.go
parentf4ae27200a577fd14e993751b533389850049fb9 (diff)
[refactor] move svg icon to assets folder
Diffstat (limited to 'pkg/systray/notificator.go')
-rw-r--r--pkg/systray/notificator.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/systray/notificator.go b/pkg/systray/notificator.go
index 4179759..a26c7d8 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
}