How 787b-r26b/wails-applauncher-client works
Project type and purpose
• This is a desktop application built with the Wails framework, combining a Go backend with a React-TypeScript frontend.
• It’s intended to run as a native app on Windows and macOS, calling Go methods from the UI and optionally executing scripts (in server-files/).
File structure
Top-level:
• app.go, main.go, executor.go, config.go – Go entry points and business logic
• wails.json – Wails project configuration
• go.mod/go.sum – Go module dependencies
• frontend/ – React-TS application (Vite build, wailsjs bindings)
• build/ – Platform-specific packaging (darwin, windows installers)
• server-files/ – Example scripts and manifest for runtime execution
• package.json/package-lock.json – (If any JavaScript tooling at root; mostly managed in frontend/)
Patterns & hints:
• MVC-like split: frontend UI (View), Go code (Controller/Model), optional script executor
• Vite dev server for hot reloading; Wails runtime for production
README for additional insights
• Uses wails dev for local development: spins up Vite + Go RPC server
• Uses wails build to produce redistributable binaries for Windows/macOS