Skip to content

Commit b33efed

Browse files
committed
feat: update ci
1 parent 33d4dcc commit b33efed

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

packages/studio-website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build:site:single": "vite build --mode=single",
1818
"build:site:less": "vite build --mode=less",
1919
"build:site": "vite build",
20-
"build:desktop-app": "NO_STRIP=true pnpm tauri build",
20+
"build:desktop-app": "pnpm tauri build",
2121
"build:desktop-icon": "pnpm tauri icon ./src-tauri/app-icon.png"
2222
},
2323
"publishConfig": {

packages/studio-website/src-tauri/tauri.conf.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"$schema": "https://schema.tauri.app/config/2",
32
"productName": "graphscope-portal",
43
"version": "0.1.0",
54
"identifier": "com.graphscope-portal.app",

packages/studio-website/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default defineConfig({
8080
port: 5173,
8181
},
8282
// 添加有关当前构建目标的额外前缀,使这些 CLI 设置的 Tauri 环境变量可以在客户端代码中访问
83-
// envPrefix: ['VITE_', 'TAURI_ENV_*'],
83+
envPrefix: ['VITE_', 'TAURI_ENV_*'],
8484
build: {
8585
// Tauri 在 Windows 上使用 Chromium,在 macOS 和 Linux 上使用 WebKit
8686
// target: process.env.TAURI_ENV_PLATFORM == 'windows' ? 'chrome105' : 'safari13',

0 commit comments

Comments
 (0)