summaryrefslogtreecommitdiff
path: root/pkg/systray/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/systray/run.go')
-rw-r--r--pkg/systray/run.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/systray/run.go b/pkg/systray/run.go
index ce4a886..6521da6 100644
--- a/pkg/systray/run.go
+++ b/pkg/systray/run.go
@@ -68,6 +68,12 @@ func initialize(conf *Config, bt *bmTray, finishedCh chan bool) {
}
func checkAndStartBitmask(b bitmask.Bitmask, notify *notificator, conf *Config) {
+ if conf.Obfs4 {
+ err := b.UseTransport("obfs4")
+ if err != nil {
+ log.Printf("Error setting transport: %v", err)
+ }
+ }
err := checkAndInstallHelpers(b, notify)
if err != nil {
log.Printf("Is bitmask running? %v", err)