From 0f0caa7eea95a3a714e875a247a48ccd065a192c Mon Sep 17 00:00:00 2001 From: idk eyedeekay Date: Sun, 30 Jan 2022 03:50:48 -0500 Subject: [PATCH] Windows fixes for launching Tor and/or Tor Browser --- supervise/supervise.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supervise/supervise.go b/supervise/supervise.go index 6e5c0fb..2f5deaf 100644 --- a/supervise/supervise.go +++ b/supervise/supervise.go @@ -211,8 +211,8 @@ func (s *Supervisor) RunI2PBWithLang() error { return s.ibcmd.Run() case "win": log.Println("Running Windows EXE", filepath.Join(s.TBDirectory(), "firefox.exe"), "--profile", s.I2PDataPath()) - s.ibcmd = exec.Command(filepath.Join(s.TBDirectory(), "firefox.exe"), "--help") //, "--profile", s.I2PDataPath()) - s.ibcmd.Dir = s.TBDirectory() + s.ibcmd = exec.Command(filepath.Join(s.TBDirectory(), "firefox.exe"), "--profile", ".") + s.ibcmd.Dir = s.I2PDataPath() s.ibcmd.Stdout = os.Stdout s.ibcmd.Stderr = os.Stderr return s.ibcmd.Run()