mirror of
https://github.com/jahruz67/wisp-open.git
synced 2026-08-08 18:14:08 +00:00
- Removed the legacy HTTP daemon for handling hotkey presses on Linux, replacing it with a simpler command-based approach using `--action=toggle`. - Updated the build script to support non-interactive installation for CI environments with the `--no-install` flag. - Enhanced the ydotool setup process to prefer distribution-provided systemd units and improved error messages for missing dependencies. - Changed the way active window titles are retrieved on Linux to avoid using robotgo, which can fail on Wayland. - Updated README and frontend hints to clarify the use of GlobalShortcuts portal and fallback commands for Linux. - Improved package building scripts to allow building only Debian or RPM packages based on command-line flags. - Adjusted the text insertion logic to handle different versions of ydotool more robustly.
18 lines
490 B
Go
18 lines
490 B
Go
//go:build !linux
|
|
|
|
// ============================================================
|
|
// WINDOWS-ONLY FILE — Stub for the Linux press daemon.
|
|
// On Windows, the press daemon is not used.
|
|
// The real implementation is in linux_press_daemon.go
|
|
// ============================================================
|
|
|
|
package main
|
|
|
|
func (a *App) startLinuxPressDaemon() {}
|
|
|
|
func stopLinuxPressDaemon() {}
|
|
|
|
func linuxShortcutCommand(executable string) string {
|
|
return executable + " --action=toggle"
|
|
}
|