wails/v3/internal/commands
Josh Ghiloni 15812b4f80
fix: make options in update build-assets override (#4505)
* fix: make options in update build-assets override

Before this fix, if `-config` was passed to `wails3 update
build-assets`, the values in the config file, even if they were empty,
would be used. Now, we only use the config file value if the value was
not passed in on the command line (or is the zero value or default value
for the option).

I'll be honest, I feel a little dirty about this implementation since
I had to copy string constants out of struct tags. Not very DRY of me.
That said, there was no obvious way to get the default value of a given
option. If I missed something, happy to have this corrected, but I've
tested it and it seems to be doing the things it should be doing.

* Update v3 changelog
2025-08-15 18:10:25 +10:00
..
appimage_testfiles Refactor to using Window interface (#4471) 2025-08-09 15:28:08 +10:00
build_assets [v3] fix linux .desktop file appicon variable (#4477) 2025-08-06 22:03:25 +10:00
dmg Fix DMG import 2025-06-15 23:55:39 +10:00
updatable_build_assets Correct nfpm.yaml template package dependencies. (#4481) 2025-08-09 18:29:31 +10:00
webview2 Add bootstrapper back in 2024-12-18 19:51:22 +11:00
appimage.go Add update cli 2025-01-02 16:24:37 +11:00
appimage_test.go Update default taskfile. WIP linux packaging 2023-11-20 20:41:17 +11:00
bindings.go Fix bad merge 2025-01-23 22:03:14 +11:00
build-assets.go fix: make options in update build-assets override (#4505) 2025-08-15 18:10:25 +10:00
constants.go Clean up footer 2024-07-30 07:57:25 +10:00
dev.go Add devmode config to config.yml. 2024-11-09 09:35:13 +11:00
doctor.go Add doctor. 2023-09-03 08:42:12 +10:00
dot_desktop.go Clean up footer 2024-07-30 07:57:25 +10:00
generate_template.go Support template generation 2025-01-01 20:58:49 +11:00
generate_webview2.go Frontend builds now use vite environment "development" or "production" depending on build type 2025-01-13 18:24:21 +11:00
icons.go Clean up footer 2024-07-30 07:57:25 +10:00
icons_test.go Fix tests 2025-01-20 19:56:03 +11:00
init.go Add update cli 2025-01-02 16:24:37 +11:00
init_test.go Documentation updates. 2024-12-16 20:00:56 +11:00
linuxdeploy-plugin-gtk.sh Update default taskfile. WIP linux packaging 2023-11-20 20:41:17 +11:00
msix.go Fix DMG import 2025-06-15 23:55:39 +10:00
releasenotes.go Add update cli 2025-01-02 16:24:37 +11:00
runtime.go Support wails3 generate runtime 2024-11-03 17:28:32 +11:00
service.go Add update cli 2025-01-02 16:24:37 +11:00
syso.go Fix syso generation bug 2024-08-16 21:09:40 +10:00
syso_test.go Fix tests 2024-08-04 21:28:15 +10:00
task.go Update CLI to pass through variables (#4488) 2025-08-09 21:44:30 +10:00
task_integration_test.go Update CLI to pass through variables (#4488) 2025-08-09 21:44:30 +10:00
task_test.go Update CLI to pass through variables (#4488) 2025-08-09 21:44:30 +10:00
task_wrapper.go Update CLI to pass through variables (#4488) 2025-08-09 21:44:30 +10:00
task_wrapper_test.go Update CLI to pass through variables (#4488) 2025-08-09 21:44:30 +10:00
tool_buildinfo.go Add build info tool 2024-07-30 22:03:01 +10:00
tool_checkport.go Clean up footer 2024-07-30 07:57:25 +10:00
tool_cp.go Clean up footer 2024-07-30 07:57:25 +10:00
tool_package.go Fix window visibility issue #2861 - initialize showRequested based on Hidden option 2025-07-06 15:55:36 +10:00
tool_package_test.go [V3-Linux] Support for deb,rpm,arch linux packager packaging (#3909) 2024-11-30 13:31:56 +11:00
tool_version.go Add wails3 tool version command 2025-04-23 10:29:51 +10:00
tool_version_test.go Add wails3 tool version command 2025-04-23 10:29:51 +10:00
update_cli.go [v3] Late service registration and error handling overhaul (#4066) 2025-02-19 09:27:41 +01:00
version.go Add update cli 2025-01-02 16:24:37 +11:00
watcher.go [v3] Fix: Vite server not cleaned up when build fails (#4436) 2025-08-02 17:48:01 +10:00