perf: update applet download and deployment

pull/9384/head
Eric 2023-02-01 10:27:12 +08:00
parent fa6d819f10
commit 142edd9438
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' %} {% trans 'JumpServer Client, currently used to launch the client, now only support launch RDP SSH client, The Telnet client will next' %}
</p> </p>
<ul> <ul>
<li> <a href="/download/JumpServer-Client-Installer-x86_64.msi">jumpserver-client-windows-x86_64.msi</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/JumpServer-Client-Installer.dmg">jumpserver-client-darwin.dmg</a></li> <li> <a href="/download/public/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/public/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-arm64.run">jumpserver-client-linux-arm64.run</a></li>
</ul> </ul>
</div> </div>
@ -33,7 +33,7 @@ p {
{% trans 'macOS needs to download the client to connect RDP asset, which comes with Windows' %} {% trans 'macOS needs to download the client to connect RDP asset, which comes with Windows' %}
</p> </p>
<ul> <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> </ul>
</div> </div>
@ -42,22 +42,16 @@ p {
<h2>{% trans 'Windows Remote application publisher tools' %}</h2> <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> <p>{% trans 'OpenSSH is a program used to connect remote applications in the Windows Remote Application Publisher' %}</p>
<ul> <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> </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>
<div class="group"> <div class="group">
<h2>JumpServer {% trans 'Offline video player' %} v0.1.5</h2> <h2>JumpServer {% trans 'Offline video player' %} v0.1.5</h2>
<ul> <ul>
<li><a href="/download/JumpServer-Video-Player.dmg">jumpserver-video-player.dmg</a></li> <li><a href="/download/public/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.exe">jumpserver-video-player.exe</a></li>
</ul> </ul>
</div> </div>

View File

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

View File

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

View File

@ -13,7 +13,7 @@
RDS_fSingleSessionPerUser: 1 RDS_fSingleSessionPerUser: 1
RDS_MaxDisconnectionTime: 60000 RDS_MaxDisconnectionTime: 60000
RDS_RemoteAppLogoffTimeLimit: 0 RDS_RemoteAppLogoffTimeLimit: 0
TinkerInstaller: Tinker_Installer_v0.0.1.exe TinkerInstaller: Tinker_Installer.exe
tasks: tasks:
- name: Install RDS-Licensing (RDS) - name: Install RDS-Licensing (RDS)
@ -151,6 +151,18 @@
state: present state: present
arguments: arguments:
- /quiet - /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 - name: Generate tinkerd component config
ansible.windows.win_shell: ansible.windows.win_shell: