This commit is contained in:
Michael Yang 2024-04-10 11:26:15 -07:00
parent ad90b9ab3d
commit 2b4ca6cf36
4 changed files with 3 additions and 9 deletions

View file

@ -5,7 +5,6 @@ on:
paths: paths:
- '**/*' - '**/*'
- '!docs/**' - '!docs/**'
- '!examples/**'
- '!README.md' - '!README.md'
jobs: jobs:

View file

@ -24,10 +24,5 @@ func NewTray() (commontray.OllamaTray, error) {
return nil, fmt.Errorf("failed to load icon %s: %w", iconName, err) return nil, fmt.Errorf("failed to load icon %s: %w", iconName, err)
} }
tray, err := InitPlatformTray(icon, updateIcon) return InitPlatformTray(icon, updateIcon)
if err != nil {
return nil, err
}
return tray, nil
} }

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/jmorganca/ollama/api" "github.com/ollama/ollama/api"
) )
func main() { func main() {

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/jmorganca/ollama/api" "github.com/ollama/ollama/api"
) )
func main() { func main() {