From ae3aef0518e6dc85352a8e9c1ad1e1375e93d6f4 Mon Sep 17 00:00:00 2001 From: erinn Date: Thu, 17 Jun 2021 18:11:30 -0700 Subject: [PATCH] idk --- lib.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib.go b/lib.go index 6cfc981..3110f27 100644 --- a/lib.go +++ b/lib.go @@ -86,6 +86,12 @@ func StartCwtch(appDir string, torPath string) int { } func _startCwtch(appDir string, torPath string) { + if application != nil { + log.Infof("_startCwtch detected existing application; resuming instead of relaunching") + ReconnectCwtchForeground() + return + } + // Exclude Tapir wire Messages (We need a TRACE level) log.ExcludeFromPattern("service.go")