Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
bitmask-vpn
Commits
95bc8b92
Verified
Commit
95bc8b92
authored
6 years ago
by
meskio
Browse files
Options
Downloads
Patches
Plain Diff
[feat] return the correct svg path for snap
parent
0358eda7
No related branches found
Branches containing commit
Tags
0.18.9
Tags containing commit
1 merge request
!20
[feat] display systray and bitmaskd version in about
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
notificator.go
+5
-0
5 additions, 0 deletions
notificator.go
with
5 additions
and
0 deletions
notificator.go
+
5
−
0
View file @
95bc8b92
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment