mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 22:33:56 +00:00
Implement new Go based Desktop app
This focuses on Windows first, but coudl be used for Mac and possibly linux in the future.
This commit is contained in:
committed by
jmorganca
parent
f397e0e988
commit
29e90cc13b
17
app/main.go
Normal file
17
app/main.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
// Compile with the following to get rid of the cmd pop up on windows
|
||||
// go build -ldflags="-H windowsgui" .
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/jmorganca/ollama/app/lifecycle"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// TODO - remove as we end the early access phase
|
||||
os.Setenv("OLLAMA_DEBUG", "1") // nolint:errcheck
|
||||
|
||||
lifecycle.Run()
|
||||
}
|
||||
Reference in New Issue
Block a user