mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-15 23:25:49 +01:00
* ## Summary I've implemented the fix for issue #4575. Here's what was changed: ### Changes Made **File: `v3/internal/commands/build_assets/linux/Taskfile.yml`** 1. Added `generate:dotdesktop` as a dependency to `build:native` task (line 45) 2. Added `generate:dotdesktop` as a dependency to `build:docker` task (line 63) This ensures that the `.desktop` file is generated during every Linux build (both native and Docker-based), not just during packaging operations. ### How it works - When running `wails build` or `wails dev` on Linux, the build process now automatically generates a `.desktop` file at `build/linux/<app-name>.desktop` - The `.desktop` file contains: - Application name - Executable path - Icon reference - Categories (defaulting to "Development") - This allows Linux desktop environments to properly display the application icon and metadata even during development ### Testing To test the changes: 1. Create a new Wails v3 project: `wails3 init -n testapp` 2. Build it: `cd testapp && wails3 build` 3. Verify the `.desktop` file exists: `cat build/linux/testapp.desktop` Would you like me to run a test or make any additional changes? * feat(linux): generate .desktop file during build (#4575) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
52 lines
2.1 KiB
Modula-2
52 lines
2.1 KiB
Modula-2
module changeme
|
|
|
|
go 1.24.0
|
|
|
|
toolchain go1.24.6
|
|
|
|
require github.com/wailsapp/wails/v3 v3.0.0-dev
|
|
|
|
require (
|
|
dario.cat/mergo v1.0.1 // indirect
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/ProtonMail/go-crypto v1.1.6 // indirect
|
|
github.com/adrg/xdg v0.5.3 // indirect
|
|
github.com/bep/debounce v1.2.1 // indirect
|
|
github.com/cloudflare/circl v1.6.0 // indirect
|
|
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
|
github.com/ebitengine/purego v0.8.2 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
github.com/go-git/go-billy/v5 v5.6.2 // indirect
|
|
github.com/go-git/go-git/v5 v5.13.2 // indirect
|
|
github.com/go-ole/go-ole v1.3.0 // indirect
|
|
github.com/godbus/dbus/v5 v5.1.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/leaanthony/go-ansi-parser v1.6.1 // indirect
|
|
github.com/leaanthony/u v1.1.1 // indirect
|
|
github.com/lmittmann/tint v1.0.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.14 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/samber/lo v1.49.1 // indirect
|
|
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
|
github.com/skeema/knownhosts v1.3.1 // indirect
|
|
github.com/wailsapp/go-webview2 v1.0.22 // indirect
|
|
github.com/wailsapp/mimetype v1.4.1 // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
golang.org/x/crypto v0.36.0 // indirect
|
|
golang.org/x/net v0.37.0 // indirect
|
|
golang.org/x/sys v0.33.0 // indirect
|
|
golang.org/x/text v0.23.0 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
)
|
|
|
|
replace github.com/wailsapp/wails/v3 => ../../
|