mirror of
https://github.com/ollama/ollama.git
synced 2025-11-12 20:57:13 +01:00
* 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>
17 lines
247 B
Go
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")
|
|
}
|
|
}
|