Files
wails3-nuxt4/build/config.yml
2026-03-11 18:43:36 +08:00

61 lines
1.7 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# This file contains the configuration for this project.
# When you update `info` or `fileAssociations`, run `wails3 task common:update:build-assets` to update the assets.
# Note that this will overwrite any changes you have made to the assets.
version: '3'
# This information is used to generate the build assets.
info:
companyName: "wails3-nuxt4" # The name of the company
productName: "wails3-nuxt4" # The name of the application
productIdentifier: "com.wails3nuxt4.app" # The unique product identifier
description: "Wails3 + Nuxt4 Desktop Application" # The application description
copyright: "(c) 2026, wails3-nuxt4" # Copyright text
comments: "wails3-nuxt4" # Comments
version: "0.0.1" # The application version
# Dev mode configuration
dev_mode:
root_path: .
log_level: warn
debounce: 300
ignore:
dir:
- .git
- node_modules
- frontend
- bin
file:
- .DS_Store
- .gitignore
- .gitkeep
watched_extension:
- "*.go"
git_ignore: true
executes:
- cmd: wails3 task common:dev:frontend
type: background # 改回 background让它持续运行
- cmd: powershell.exe -ExecutionPolicy Bypass -File build/wait.ps1 -Seconds 15
type: blocking # 等待 15 秒让前端完全启动
- cmd: wails3 task build
type: blocking
- cmd: wails3 task run
type: primary
# File Associations
# More information at: https://v3.wails.io/noit/done/yet
fileAssociations:
# - ext: wails
# name: Wails
# description: Wails Application File
# iconName: wailsFileIcon
# role: Editor
# - ext: jpg
# name: JPEG
# description: Image File
# iconName: jpegFileIcon
# role: Editor
# mimeType: image/jpeg # (optional)
# Other data
other:
- name: My Other Data