Phase 1 of plan 009. The app still builds and runs on v2 — nothing in main.go or backend/ has moved yet — but the v3 CLI, its pinned runtime and its build-asset tree are now present, which is what Phase 2 needs. - wails/v3 v3.0.0-beta.8 pinned per D5, and wails3 added to the `tool` block beside the v2 CLI per D3. Both are vendored; neither is a global install. - build/ now holds the v3 build assets, copied wholesale from a `wails3 init` scaffold rather than hand-written. That collides with this repo's existing use of build/ as ignored build *output*, so .gitignore narrows to build/bin/ and bin/ and the assets are tracked. The mobile platforms are not carried: this is a desktop player (MPRIS over D-Bus, beep, XDG paths) and cannot target them. - build/config.yml's info block is filled from wails.json, which stays for now because the v2 CLI still reads it. - Taskfile.yml defaults PACKAGE_MANAGER to pnpm, since the scaffold assumes npm and frontend/package.json.md5 is part of the dep-caching scheme. One deviation from the plan worth recording. webkitgtk-6.0 is not installed on this machine, so the default GTK4 path is unavailable and the gtk3 fallback is in use. That also means `go tool wails3` does not work — the CLI itself fails to compile without webkitgtk-6.0 — while `go run -tags gtk3 .../cmd/wails3` does. The Makefile rewrite in the next commit has to account for that, and it goes away once the GTK4 dependency is installed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UDCbcCZQepnpSQYJ6SxxZm
79 lines
2.7 KiB
YAML
79 lines
2.7 KiB
YAML
# 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: "yellowjacket" # The name of the company
|
|
productName: "yellowjacket" # The name of the application
|
|
productIdentifier: "app.yellowjacket" # The unique product identifier
|
|
description: "A cross-platform desktop music player" # The application description
|
|
copyright: "(c) 2026, yellowjacket" # Copyright text
|
|
comments: "yj@yellowjacket.app" # Comments
|
|
version: "0.0.1" # The application version
|
|
# cfBundleIconName: "appicon" # The macOS icon name in Assets.car icon bundles (optional)
|
|
# # Should match the name of your .icon file without the extension
|
|
# # If not set and Assets.car exists, defaults to "appicon"
|
|
|
|
# iOS build configuration (uncomment to customise iOS project generation)
|
|
# Note: Keys under `ios` OVERRIDE values under `info` when set.
|
|
# ios:
|
|
# # The iOS bundle identifier used in the generated Xcode project (CFBundleIdentifier)
|
|
# bundleID: "com.mycompany.myproduct"
|
|
# # The display name shown under the app icon (CFBundleDisplayName/CFBundleName)
|
|
# displayName: "My Product"
|
|
# # The app version to embed in Info.plist (CFBundleShortVersionString/CFBundleVersion)
|
|
# version: "0.0.1"
|
|
# # The company/organisation name for templates and project settings
|
|
# company: "My Company"
|
|
# # Additional comments to embed in Info.plist metadata
|
|
# comments: "Some Product Comments"
|
|
|
|
# Dev mode configuration
|
|
dev_mode:
|
|
root_path: .
|
|
log_level: warn
|
|
debounce: 1000
|
|
ignore:
|
|
dir:
|
|
- .git
|
|
- node_modules
|
|
- frontend
|
|
- bin
|
|
file:
|
|
- .DS_Store
|
|
- .gitignore
|
|
- .gitkeep
|
|
- "*_test.go"
|
|
watched_extension:
|
|
- "*.go"
|
|
- "*.js" # Watch for changes to JS/TS files included using the //wails:include directive.
|
|
- "*.ts" # The frontend directory will be excluded entirely by the setting above.
|
|
git_ignore: true
|
|
executes:
|
|
- cmd: wails3 build DEV=true
|
|
type: blocking
|
|
- cmd: wails3 task common:dev:frontend
|
|
type: background
|
|
- 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 |