refactor: implement cross-platform abstraction for process management, media control, and startup configuration (TESTING)

This commit is contained in:
jahruz67
2026-04-09 21:31:02 -07:00
parent cc644e3059
commit ba0e75c503
25 changed files with 458 additions and 48 deletions
+32
View File
@@ -0,0 +1,32 @@
//go:build windows
package platform
import "wis-free-v3/internal/windows"
func NewOverlay() Overlay {
return windows.NewOverlay()
}
func PauseMedia() bool {
return windows.PauseMedia()
}
func ResumeMedia(wasPaused bool) {
windows.ResumeMedia(wasPaused)
}
func AddToStartup() error {
return windows.AddToStartup()
}
func RemoveFromStartup() error {
return windows.RemoveFromStartup()
}
func IsInStartup() bool {
return windows.IsInStartup()
}
func IsProcessRunning(pid int) bool {
return windows.IsProcessRunning(pid)
}