客户端打包

This commit is contained in:
2025-11-28 15:15:36 +08:00
parent 57c40d0b3a
commit 26750c3c2a
21 changed files with 22 additions and 17 deletions

View File

@@ -1,2 +1,3 @@
VITE_h5_client_url=http://10.9.18.138:18900
### VITE_h5_client_url=http://10.9.18.138:18900
VITE_h5_client_url=https://bqw-120.ii999.live:20038
VITE_HsAppCode=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 353 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
build/icon_pinshan.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

BIN
build/icon_pinshan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 KiB

After

Width:  |  Height:  |  Size: 353 KiB

View File

@@ -1,6 +1,6 @@
appId: com.huashiai.dify-market-manager-gui
compression: maximum
productName: 智能体平台
productName: 深燃智能体平台
directories:
buildResources: build
files:
@@ -12,7 +12,7 @@ files:
asarUnpack:
- resources/**
win:
executableName: 智能体平台
executableName: 深燃智能体平台
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
@@ -41,4 +41,4 @@ publish:
provider: generic
url: ""
electronDownload:
mirror: http://172.22.33.66:18900/update_files
mirror: https://npmmirror.com/mirrors/electron/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 B

After

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -65,8 +65,10 @@ export async function createWindow() {
// Create the browser window.
mainWindow = new BrowserWindow({
width: 420,
height: 900,
width: 1480,
height: 980,
minWidth: 1480,
minHeight: 980,
show: false,
media: {
audio: true,
@@ -161,7 +163,7 @@ export async function createWindow() {
setStoreValue("h5_client_url", import.meta.env.VITE_h5_client_url)
}
const h5_client_url=getStoreValue("h5_client_url")+"/h5_client/"
const h5_client_url=getStoreValue("h5_client_url")+"/pc_client/"
logger.info("==================================== mainWindow.loadURL:"+h5_client_url)
// 加载存储的 URL
@@ -653,6 +655,8 @@ export async function tokenExpireTimer(){
const LOG_INTERVAL = 60000; // 日志打印间隔60秒打印一次
const tokenExpireTimer = setInterval(async () => {
return false;
const currentTime = Date.now();
const lastActiveTime = getStoreValue("lastActiveTime")||null