stash/internal/desktop
Csaba Maulis 0c0ba19a23
Add `-v/--version` flag to print version string (#3883)
* Add `-v/--version` flag to print version string

- Created a new flag `-v/--version` in the command-line interface to display the version number and exit.
- Moved all version-related functions inside the config package to the new file `manager/config/version.go` to avoid circular dependencies.
- Added a new `GetVersionString()` function to generate a formatted version string.
- Updated references to the moved version functions.
- Updated references in the `Makefile`.

* Move version embeds to build package

* Remove githash var

---------

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2023-07-11 15:54:42 +10:00
..
desktop.go Add `-v/--version` flag to print version string (#3883) 2023-07-11 15:54:42 +10:00
desktop_platform_darwin.go Improve Windows stash behaviour (#2543) 2022-05-04 10:37:32 +10:00
desktop_platform_nixes.go Fix golangci OOM (#2889) 2022-09-05 22:12:59 -07:00
desktop_platform_windows.go [Files Refactor] Cleanup (#2893) 2022-09-07 16:50:15 +10:00
dialog_nonwindows.go Improve Windows stash behaviour (#2543) 2022-05-04 10:37:32 +10:00
dialog_windows.go Improve Windows stash behaviour (#2543) 2022-05-04 10:37:32 +10:00
icon_windows.syso Restructure go project (#2356) 2022-03-17 11:33:59 +11:00
systray_nixes.go Freebsd compile errors (#2477) 2022-04-05 22:35:32 -07:00
systray_nonlinux.go Fix lint error on macOS (#3533) 2023-03-13 11:26:19 +11:00