From 969069dde0ff2c1d8acde7147cb7a164aed895d3 Mon Sep 17 00:00:00 2001 From: Aaron3S Date: Fri, 12 Apr 2024 12:10:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20receptor=20=E4=B8=AD=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- receptor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/receptor b/receptor index baf037101..9518e2c99 100755 --- a/receptor +++ b/receptor @@ -65,6 +65,8 @@ class ReceptorService: except ValueError: print("\n- PID file is corrupted, starting Receptor...") os.remove(self.pid_file) + + os.environ.update({'LOCAL_CONNECTION_ENABLED': '1'}) process = subprocess.Popen(self.receptor_command) with open(self.pid_file, 'w') as f: f.write(str(process.pid))