b6619ef53b
- app.go: App struct with stub bindings (RunCheck/StartEngine/
StopEngine/GetStatus/Version) — emits check:result, check:done,
engine:status, stats:update events. Real backend lands in Phase 1.
- run.go: wails.Run() with frameless 480x640 fixed window, Classic
dark bg matching theme.
- embed.go: //go:embed all:frontend/dist for the Vite build output.
- frontend/: Vite + React project derived from `wails init -t react`.
Removed default template assets and wired Classic variant from
docs/design/v2/.
- components/Classic.jsx: variant 1 with custom title bar
(drag region, sun/moon theme toggle, min/close hooked to
Wails WindowMinimise/Quit).
- components/shared.jsx: useDrover hook adapted to call Wails
bindings and listen on backend events instead of mock SCENARIOS.
Added IconSun + IconMoon for the title-bar toggle.
- App.jsx: owns mode state, wraps setMode in
document.startViewTransition so the title-bar toggle gives a
circle-reveal sweep from the cursor.
- style.css: clean reset (overflow hidden, no scrollbars, brand
background) — replaces the wails-react-template defaults.
- wailsjs/go/gui/App.js: hand-written bindings since our App
struct lives in package gui rather than the standard top-level
main; `wails generate module` would have written package main
bindings here.
- build/: standard wails artifacts (icon, manifest); will be
consumed by `wails build` once we wire it through CI.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
<key>CFBundleName</key>
|
|
<string>{{.Info.ProductName}}</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>{{.OutputFilename}}</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>com.wails.{{.Name}}</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>{{.Info.ProductVersion}}</string>
|
|
<key>CFBundleGetInfoString</key>
|
|
<string>{{.Info.Comments}}</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>{{.Info.ProductVersion}}</string>
|
|
<key>CFBundleIconFile</key>
|
|
<string>iconfile</string>
|
|
<key>LSMinimumSystemVersion</key>
|
|
<string>10.13.0</string>
|
|
<key>NSHighResolutionCapable</key>
|
|
<string>true</string>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>{{.Info.Copyright}}</string>
|
|
{{if .Info.FileAssociations}}
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
{{range .Info.FileAssociations}}
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>{{.Ext}}</string>
|
|
</array>
|
|
<key>CFBundleTypeName</key>
|
|
<string>{{.Name}}</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>{{.Role}}</string>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>{{.IconName}}</string>
|
|
</dict>
|
|
{{end}}
|
|
</array>
|
|
{{end}}
|
|
{{if .Info.Protocols}}
|
|
<key>CFBundleURLTypes</key>
|
|
<array>
|
|
{{range .Info.Protocols}}
|
|
<dict>
|
|
<key>CFBundleURLName</key>
|
|
<string>com.wails.{{.Scheme}}</string>
|
|
<key>CFBundleURLSchemes</key>
|
|
<array>
|
|
<string>{{.Scheme}}</string>
|
|
</array>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>{{.Role}}</string>
|
|
</dict>
|
|
{{end}}
|
|
</array>
|
|
{{end}}
|
|
<key>NSAppTransportSecurity</key>
|
|
<dict>
|
|
<key>NSAllowsLocalNetworking</key>
|
|
<true/>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|