mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
always enable view logs
This commit is contained in:
@@ -21,14 +21,11 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (t *winTray) initMenus() error {
|
func (t *winTray) initMenus() error {
|
||||||
if debug := os.Getenv("OLLAMA_DEBUG"); debug != "" {
|
if err := t.addOrUpdateMenuItem(diagLogsMenuID, 0, diagLogsMenuTitle, false); err != nil {
|
||||||
if err := t.addOrUpdateMenuItem(diagLogsMenuID, 0, diagLogsMenuTitle, false); err != nil {
|
return fmt.Errorf("unable to create menu entries %w\n", err)
|
||||||
return fmt.Errorf("unable to create menu entries %w\n", err)
|
}
|
||||||
}
|
if err := t.addSeparatorMenuItem(diagSeparatorMenuID, 0); err != nil {
|
||||||
if err := t.addSeparatorMenuItem(diagSeparatorMenuID, 0); err != nil {
|
return fmt.Errorf("unable to create menu entries %w", err)
|
||||||
return fmt.Errorf("unable to create menu entries %w", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if err := t.addOrUpdateMenuItem(quitMenuID, 0, quitMenuTitle, false); err != nil {
|
if err := t.addOrUpdateMenuItem(quitMenuID, 0, quitMenuTitle, false); err != nil {
|
||||||
return fmt.Errorf("unable to create menu entries %w\n", err)
|
return fmt.Errorf("unable to create menu entries %w\n", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user