Files
ollama/app/updater/updater_windows_test.go
Daniel Hiltgen d3b4b9970a app: add code for macOS and Windows apps under 'app' (#12933)
* app: add code for macOS and Windows apps under 'app'

* app: add readme

* app: windows and linux only for now

* ci: fix ui CI validation

---------

Co-authored-by: jmorganca <jmorganca@gmail.com>
2025-11-04 11:40:17 -08:00

17 lines
247 B
Go

//go:build windows || darwin
package updater
import (
"log/slog"
"testing"
)
func TestIsInstallerRunning(t *testing.T) {
slog.SetLogLoggerLevel(slog.LevelDebug)
Installer = "go.exe"
if !isInstallerRunning() {
t.Fatal("not running")
}
}