客户端打包
@@ -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
|
||||
|
||||
BIN
build/icon.ico
|
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 353 KiB |
BIN
build/icon.png
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 1.4 MiB |
BIN
build/icon_pinshan.ico
Normal file
|
After Width: | Height: | Size: 264 KiB |
BIN
build/icon_pinshan.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 353 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 353 KiB After Width: | Height: | Size: 353 KiB |
@@ -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/
|
||||
|
||||
|
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 611 B |
|
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 4.6 KiB |
@@ -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
|
||||
|
||||
|
||||