Merge pull request #9384 from jumpserver/pr@dev@perf_applet_deps

perf: update applet download and deployment
pull/9388/head
老广 2023-02-01 12:38:39 +08:00 committed by GitHub
commit 30492b368c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 21 deletions

View File

@ -20,10 +20,10 @@ p {
{% trans 'JumpServer Client, currently used to launch the client, now only support launch RDP SSH client, The Telnet client will next' %}
</p>
<ul>
<li> <a href="/download/JumpServer-Client-Installer-x86_64.msi">jumpserver-client-windows-x86_64.msi</a></li>
<li> <a href="/download/JumpServer-Client-Installer.dmg">jumpserver-client-darwin.dmg</a></li>
<li> <a href="/download/JumpServer-Client-Installer-amd64.run">jumpserver-client-linux-amd64.run</a></li>
<li> <a href="/download/JumpServer-Client-Installer-arm64.run">jumpserver-client-linux-arm64.run</a></li>
<li> <a href="/download/public/JumpServer-Client-Installer-x86_64.msi">jumpserver-client-windows-x86_64.msi</a></li>
<li> <a href="/download/public/JumpServer-Client-Installer.dmg">jumpserver-client-darwin.dmg</a></li>
<li> <a href="/download/public/JumpServer-Client-Installer-amd64.run">jumpserver-client-linux-amd64.run</a></li>
<li> <a href="/download/public/JumpServer-Client-Installer-arm64.run">jumpserver-client-linux-arm64.run</a></li>
</ul>
</div>
@ -33,7 +33,7 @@ p {
{% trans 'macOS needs to download the client to connect RDP asset, which comes with Windows' %}
</p>
<ul>
<li><a href="/download/Microsoft_Remote_Desktop_10.6.7_installer.pkg">microsoft-remote-desktop-installer.pkg</a></li>
<li><a href="/download/public/Microsoft_Remote_Desktop_10.6.7_installer.pkg">microsoft-remote-desktop-installer.pkg</a></li>
</ul>
</div>
@ -42,22 +42,16 @@ p {
<h2>{% trans 'Windows Remote application publisher tools' %}</h2>
<p>{% trans 'OpenSSH is a program used to connect remote applications in the Windows Remote Application Publisher' %}</p>
<ul>
<li><a href="/download/OpenSSH-Win64.msi">openSSH-win64.msi</a></li>
<li><a href="/download/public/OpenSSH-Win64.msi">openSSH-win64.msi</a></li>
</ul>
{% if XPACK_ENABLED %}
<p>{% trans 'Jmservisor is the program used to pull up remote applications in Windows Remote Application publisher' %}</p>
<ul>
<li><a href="/download/Jmservisor.msi">jmservisor.msi</a></li>
</ul>
{% endif %}
</div>
<div class="group">
<h2>JumpServer {% trans 'Offline video player' %} v0.1.5</h2>
<ul>
<li><a href="/download/JumpServer-Video-Player.dmg">jumpserver-video-player.dmg</a></li>
<li><a href="/download/JumpServer-Video-Player.exe">jumpserver-video-player.exe</a></li>
<li><a href="/download/public/JumpServer-Video-Player.dmg">jumpserver-video-player.dmg</a></li>
<li><a href="/download/public/JumpServer-Video-Player.exe">jumpserver-video-player.exe</a></li>
</ul>
</div>

View File

@ -129,7 +129,7 @@ class Asset(DictObj):
address: str
protocols: list[Protocol]
category: Category
specific: Specific
spec_info: Specific
def get_protocol_port(self, protocol):
for item in self.protocols:

View File

@ -1,11 +1,11 @@
import abc
import subprocess
import base64
import json
import locale
import os
import subprocess
import sys
import time
import os
import json
import base64
from subprocess import CREATE_NO_WINDOW
_blockInput = None
@ -125,7 +125,7 @@ class Asset(DictObj):
address: str
protocols: list[Protocol]
category: Category
specific: Specific
spec_info: Specific
def get_protocol_port(self, protocol):
for item in self.protocols:

View File

@ -13,7 +13,7 @@
RDS_fSingleSessionPerUser: 1
RDS_MaxDisconnectionTime: 60000
RDS_RemoteAppLogoffTimeLimit: 0
TinkerInstaller: Tinker_Installer_v0.0.1.exe
TinkerInstaller: Tinker_Installer.exe
tasks:
- name: Install RDS-Licensing (RDS)
@ -151,6 +151,18 @@
state: present
arguments:
- /quiet
-
- name: Download navicat161_premium_en package (navicat)
ansible.windows.win_get_url:
url: "{{ APPLET_DOWNLOAD_HOST }}/download/applets/navicat161_premium_en_x64.exe"
dest: "{{ ansible_env.TEMP }}\\navicat161_premium_en_x64.exe"
- name: Install navicat (navicat)
ansible.windows.win_package:
path: "{{ ansible_env.TEMP }}\\navicat161_premium_en_x64.exe"
state: present
arguments:
- /SILENT
- name: Generate tinkerd component config
ansible.windows.win_shell: