mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-02 07:03:40 +00:00
fix: 解决不同用户使用远程应用Navicat登录Oracle失败的问题
This commit is contained in:
parent
403faf9663
commit
b3e609dc9b
@ -1,3 +1,4 @@
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
@ -172,7 +173,8 @@ class AppletApplication(BaseApplication):
|
||||
def run(self):
|
||||
self.launch()
|
||||
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
|
||||
|
||||
# 检测是否为试用版本
|
||||
|
Loading…
Reference in New Issue
Block a user