From 96c1f689c01a7b5c70f84c685bca0835d987dcc1 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 26 Jun 2024 16:09:40 +0800 Subject: [PATCH] perf: modify dbeave remoteapp dislay name --- apps/terminal/applets/dbeaver/app.py | 2 +- apps/terminal/applets/dbeaver/manifest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/terminal/applets/dbeaver/app.py b/apps/terminal/applets/dbeaver/app.py index ff2d4fd4c..161aee6f7 100644 --- a/apps/terminal/applets/dbeaver/app.py +++ b/apps/terminal/applets/dbeaver/app.py @@ -26,7 +26,7 @@ class AppletApplication(BaseApplication): self.port = self.tinker_forward.port self.db = self.asset.spec_info.db_name - self.name = '%s-%s-%s' % (self.host, self.db, int(time.time())) + self.name = '%s-%s-%s' % (self.asset.address, self.db, int(time.time())) self.app_work_path = self.get_app_work_path() self.pid = None self.app = None diff --git a/apps/terminal/applets/dbeaver/manifest.yml b/apps/terminal/applets/dbeaver/manifest.yml index 8b2713ee6..15c1e4288 100644 --- a/apps/terminal/applets/dbeaver/manifest.yml +++ b/apps/terminal/applets/dbeaver/manifest.yml @@ -1,7 +1,7 @@ name: dbeaver display_name: "{{ 'DBeaver Community' | trans }}" comment: "{{ 'Free multi-platform database tool for developers, database administrators, analysts and all people who need to work with databases.' | trans }}" -version: 0.2 +version: 0.3 exec_type: python author: JumpServer Team type: general