Skip to content
Snippets Groups Projects
Verified Commit 95bc8b92 authored by meskio's avatar meskio :tent:
Browse files

[feat] return the correct svg path for snap

parent 0358eda7
No related branches found
Tags 0.18.9
1 merge request!20[feat] display systray and bitmaskd version in about
......@@ -99,6 +99,11 @@ func (n *notificator) errorStartingVPN(err error) {
}
func getSVGPath() string {
snapPath := os.Getenv("SNAP")
if snapPath != "" {
return snapPath + "/snap/gui/riseupvpn.svg"
}
wd, _ := os.Getwd()
svgPath := path.Join(wd, svgFileName)
if fileExist(svgPath) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment