mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02: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:
parent
f397e0e988
commit
29e90cc13b
49 changed files with 2621 additions and 101 deletions
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()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue