坪山打包

This commit is contained in:
2025-10-21 11:01:07 +08:00
parent 56171be0bf
commit cc2494d3a1
51 changed files with 73 additions and 3 deletions

2
.env.pinshan Normal file
View File

@@ -0,0 +1,2 @@
VITE_h5_client_url=http://172.22.33.66:18900
VITE_HsAppCode=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 KiB

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 60 KiB

BIN
build/icon_shenranqi.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

BIN
build/icon_shenranqi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

BIN
build/icons/mac/icon.icns Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

BIN
build/icons/png/128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
build/icons/png/16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

BIN
build/icons/png/24x24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

BIN
build/icons/png/256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
build/icons/png/32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
build/icons/png/48x48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
build/icons/png/512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
build/icons/png/64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
build/icons/win/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@@ -0,0 +1,44 @@
appId: com.huashiai.dify-market-manager-gui
compression: maximum
productName: 智能体平台
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
asarUnpack:
- resources/**
win:
executableName: 智能体平台
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
- deb
maintainer: huashiai.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
provider: generic
url: ""
electronDownload:
mirror: http://172.22.33.66:18900/update_files

View File

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

View File

@@ -0,0 +1,23 @@
// electron.vite.config.mjs
import { resolve } from "path";
import { defineConfig, externalizeDepsPlugin } from "electron-vite";
import vue from "@vitejs/plugin-vue";
var electron_vite_config_default = defineConfig({
main: {
plugins: [externalizeDepsPlugin()]
},
preload: {
plugins: [externalizeDepsPlugin()]
},
renderer: {
resolve: {
alias: {
"@renderer": resolve("src/renderer/src")
}
},
plugins: [vue()]
}
});
export {
electron_vite_config_default as default
};

View File

@@ -28,6 +28,7 @@
"build:win_lgzs": "electron-vite build --mode lgzs && electron-builder --win ", "build:win_lgzs": "electron-vite build --mode lgzs && electron-builder --win ",
"build:win_jiangsu": "electron-vite build --mode jiangsu && electron-builder --win ", "build:win_jiangsu": "electron-vite build --mode jiangsu && electron-builder --win ",
"build:win_nanshan": "electron-vite build --mode nanshan && electron-builder --win", "build:win_nanshan": "electron-vite build --mode nanshan && electron-builder --win",
"build:win_pinshan": "electron-vite build --mode pinshan && electron-builder --win",
"build:win_huashiai": "electron-vite build --mode huashiai && electron-builder --win", "build:win_huashiai": "electron-vite build --mode huashiai && electron-builder --win",
"build:win_internet": "npm run build --mode internet && electron-builder --win", "build:win_internet": "npm run build --mode internet && electron-builder --win",
"build:mac": "npm run build && electron-builder --mac", "build:mac": "npm run build && electron-builder --mac",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
resources/pinshan/16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

BIN
resources/pinshan/24x24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
resources/pinshan/32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
resources/pinshan/48x48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
resources/pinshan/64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB