-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from jumpserver/dev
Dev
- Loading branch information
Showing
28 changed files
with
519 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# build.yml | ||
|
||
name: Auto Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
- release-test | ||
|
||
|
||
|
||
env: | ||
ELECTRON_OUTPUT_PATH: interface/dist_electron | ||
CSC_LINK: ${{ secrets.CSC_LINK }} | ||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | ||
|
||
|
||
jobs: | ||
release: | ||
name: build and release electron app | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-11, windows-latest] | ||
|
||
steps: | ||
- name: Check out git repository | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
|
||
- name: build go client | ||
run: make build-client | ||
working-directory: go-client | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16.x' | ||
|
||
- name: Install system deps | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils | ||
- name: Yarn install | ||
run: | | ||
yarn | ||
yarn global add xvfb-maybe | ||
- name: Build & release app | ||
run: | | ||
yarn build | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
XCODE_APP_TEAM_ID: ${{ secrets.XCODE_APP_TEAM_ID }} | ||
XCODE_APP_LOADER_EMAIL: ${{ secrets.XCODE_APP_LOADER_EMAIL }} | ||
XCODE_APP_LOADER_PASSWORD: ${{ secrets.XCODE_APP_LOADER_PASSWORD }} | ||
BUILD_CERTIFICATE_BASE64: ${{ secrets.CSC_LINK }} | ||
P12_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Jumpserve Clients | ||
# Jumpserve Client | ||
|
||
JumpServer 客户端,支持本地本地客户端拉起。 | ||
## 概览 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Jumpserve Client | ||
|
||
JumpServer client, supports local client pull up. | ||
|
||
## Overview | ||
|
||
 | ||
|
||
|
||
## Install | ||
|
||
### Mac | ||
|
||
Download the Mac installation package, install JumpServer.dmg and put JumpServer.app into Applications. Double-click to open JumpServer.app to complete the custom protocol. | ||
|
||
|
||
### Win | ||
|
||
Download the Win installation package and double-click the JumpServer installation package file (you need to wait for 10 seconds). | ||
|
||
|
||
### Linux | ||
|
||
Download the Linux installation package, double-click the Deb installation package file, and open the installation package manager to install it. Or install it using the command | ||
|
||
``` | ||
sudo dpkg -i <package_file> | ||
``` | ||
|
||
|
||
## uninstall | ||
|
||
### Windows | ||
|
||
Just uninstall the control panel directly. | ||
|
||
|
||
### Mac | ||
|
||
Remove JumpServer.app. | ||
|
||
|
||
### Linux | ||
|
||
Click to open Software Manager to uninstall. Or use the command to uninstall | ||
|
||
``` | ||
sudo dpkg --purge <package_file> | ||
``` | ||
|
||
|
||
## package | ||
|
||
- [packaging scheme](https://github.com/jumpserver/apps/blob/master/README_PACK.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "jumpserver-client", | ||
"author": "Fit2Cloud Technology Co., Ltd.; <[email protected]>", | ||
"version": "v2.0.2", | ||
"version": "v2.1.0", | ||
"homepage": "https://jumpserver.org", | ||
"private": true, | ||
"scripts": { | ||
|
@@ -22,6 +22,7 @@ | |
"element-plus": "^2.3.0", | ||
"fs-extra": "^11.1.1", | ||
"vue": "^3.2.13", | ||
"vue-i18n": "^9.6.5", | ||
"vue-router": "^4.1.6" | ||
}, | ||
"devDependencies": { | ||
|
@@ -31,7 +32,7 @@ | |
"@vue/cli-plugin-babel": "~5.0.0", | ||
"@vue/cli-plugin-eslint": "~5.0.0", | ||
"@vue/cli-service": "~5.0.0", | ||
"electron": "^23.1.3", | ||
"electron": "^22.3.27", | ||
"electron-devtools-installer": "^3.1.0", | ||
"eslint": "^8.31.0", | ||
"eslint-config-standard": ">=16.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { createI18n } from 'vue-i18n' | ||
import messages from './langs' | ||
|
||
|
||
const browserLang = navigator.systemLanguage || navigator.language | ||
let lang = browserLang || 'zh' | ||
lang = localStorage.getItem('lang') || lang.slice(0, 2) | ||
const i18n = createI18n({ | ||
locale: lang, | ||
legacy: false, | ||
fallbackLocale: 'en', | ||
silentFallbackWarn: true, | ||
silentTranslationWarn: true, | ||
messages | ||
}) | ||
|
||
export default i18n |
Oops, something went wrong.