mirror of
https://github.com/jahruz67/wisp-open.git
synced 2026-08-08 18:14:08 +00:00
- Add platform notes for tray startup, shortcut saving, and Linux-only settings - Handle stat error in processRecording (missing file) - Select correct binary name based on OS in updater - Increase tray icon canvas size from 64 to 128 pixels - Update frontend dist asset hash
22 lines
479 B
Go
22 lines
479 B
Go
//go:build linux
|
|
|
|
// ============================================================
|
|
// LINUX-ONLY FILE — Sets the GTK program name for the system tray
|
|
// on Linux. This is required for proper desktop integration.
|
|
// ============================================================
|
|
|
|
package tray
|
|
|
|
/*
|
|
#cgo pkg-config: glib-2.0
|
|
#include <glib.h>
|
|
*/
|
|
import "C"
|
|
import "unsafe"
|
|
|
|
func init() {
|
|
cstr := C.CString("wis-free-v3")
|
|
defer C.free(unsafe.Pointer(cstr))
|
|
C.g_set_prgname(cstr)
|
|
}
|