summaryrefslogtreecommitdiff
path: root/pkg/systray/config.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-07-22 17:47:08 +0200
committerRuben Pollan <meskio@sindominio.net>2019-08-16 22:58:46 +0200
commit1de7bb124a5e502945712ef34f924ca4d1d0ca45 (patch)
tree346cc319f8dc3013fc9b9e0654d19e0720d388e7 /pkg/systray/config.go
parent35aaba1e0da53aed44a5741ca9a3a1e2de21baf5 (diff)
[feat] be able to use obfs4
Diffstat (limited to 'pkg/systray/config.go')
-rw-r--r--pkg/systray/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/systray/config.go b/pkg/systray/config.go
index 2e97456..75a4a98 100644
--- a/pkg/systray/config.go
+++ b/pkg/systray/config.go
@@ -40,10 +40,12 @@ type Config struct {
LastNotification time.Time
Donated time.Time
SelectGateway bool
+ Obfs4 bool
UserStoppedVPN bool
DisableAustostart bool
}
SelectGateway bool
+ Obfs4 bool
DisableAustostart bool
StartVPN bool
Version string
@@ -64,6 +66,7 @@ func ParseConfig() *Config {
}
conf.SelectGateway = conf.file.SelectGateway
+ conf.Obfs4 = conf.file.Obfs4
conf.DisableAustostart = conf.file.DisableAustostart
conf.StartVPN = !conf.file.UserStoppedVPN
return &conf