mirror of https://github.com/jumpserver/jumpserver
fix: 解决不同用户使用远程应用Navicat登录Oracle失败的问题
parent
403faf9663
commit
b3e609dc9b
|
@ -1,3 +1,4 @@
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
@ -172,7 +173,8 @@ class AppletApplication(BaseApplication):
|
||||||
def run(self):
|
def run(self):
|
||||||
self.launch()
|
self.launch()
|
||||||
app = Application(backend='uia')
|
app = Application(backend='uia')
|
||||||
app.start(self.path)
|
work_dir = os.path.dirname(self.path)
|
||||||
|
app.start(self.path, work_dir=work_dir)
|
||||||
self.pid = app.process
|
self.pid = app.process
|
||||||
|
|
||||||
# 检测是否为试用版本
|
# 检测是否为试用版本
|
||||||
|
|
Loading…
Reference in New Issue