add new programName option to linux options (#2817)

* add new programName option to linux options

* modify changelog

* free program name string
This commit is contained in:
Zámbó, Levente
2023-08-10 07:48:09 +10:00
committed by GitHub
parent b48579892b
commit e72e4aa179
4 changed files with 29 additions and 1 deletions
+9
View File
@@ -29,6 +29,15 @@ type Options struct {
// - WebviewGpuPolicyOnDemand
// - WebviewGpuPolicyNever
WebviewGpuPolicy WebviewGpuPolicy
// ProgramName is used to set the program's name for the window manager via GTK's g_set_prgname().
//This name should not be localized. [see the docs]
//
//When a .desktop file is created this value helps with window grouping and desktop icons when the .desktop file's Name
//property differs form the executable's filename.
//
//[see the docs]: https://docs.gtk.org/glib/func.set_prgname.html
ProgramName string
}
type Messages struct {