No description
Find a file
2025-12-11 19:40:43 +00:00
.gitea/workflows fix: exe name change 2025-12-11 19:07:05 +00:00
build fix: test whitespace change 2025-12-11 09:32:50 +00:00
frontend fix: exe name change 2025-12-11 19:07:05 +00:00
pkg fix: resolved auto-update issue 2025-12-11 19:32:09 +00:00
.gitignore added build dir 2025-12-02 18:04:01 +00:00
app.go fix: attempted auto restart for updates 2025-12-11 15:01:11 +00:00
go.mod fix: resolved auto-update issue 2025-12-11 19:32:09 +00:00
go.sum fix: resolved auto-update issue 2025-12-11 19:32:09 +00:00
main.go fix: resolved auto-updating issue 2025-12-11 12:16:40 +00:00
psocompanion.exe fix: resolved auto-updating issue 2025-12-11 12:16:40 +00:00
README.md fixed tags and notes not saving 2025-12-04 19:25:04 +00:00
Taskfile.yml wails3 usage 2025-12-02 16:10:36 +00:00
VERSION chore: bump version to 0.6.4 [skip ci] 2025-12-11 19:40:43 +00:00
wails.json first commit 2025-12-02 15:12:06 +00:00

README

About

This is the official Wails React-TS template.

You can configure the project by editing wails.json. More information about the project settings can be found here: https://wails.io/docs/reference/project-config

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.

Building

Development Build

wails3 task build

This creates a development build with console output enabled (useful for debugging).

Production Build (No Console Window)

wails3 task build PRODUCTION=true

This builds with production flags that:

  • Hide the console window (-H windowsgui)
  • Strip debug symbols for smaller binary (-w -s)
  • Remove file paths from binary (-trimpath)

Creating an Installer

To create an NSIS installer (requires NSIS to be installed):

wails3 task package

Output

The compiled executable will be located at: bin/psocompanion.exe

Build Flags Reference

Flag Purpose
-H windowsgui Hides the console window (Windows GUI-only app)
-w Omits DWARF debugging info (smaller binary)
-s Omits symbol table (smaller binary)
-trimpath Removes file system paths from the binary
-tags production Enables production build tags

CI/CD Pipeline

Use wails3 task build PRODUCTION=true in your pipeline. This automatically:

  1. Installs frontend dependencies
  2. Builds the frontend with production optimizations
  3. Generates Go bindings
  4. Compiles the Go binary with production flags