[PR #7097] [CLOSED] feat: configure auto startup in macos #43557

Closed
opened 2026-04-24 23:09:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7097
Author: @clicktodev
Created: 10/4/2024
Status: Closed

Base: mainHead: configure-auto-startup


📝 Commits (7)

  • 15b9aa6 Update index.ts to add toggleAutoStartup function and menu item
  • 13d7a28 Refactor index.ts to remove unnecessary updateTray() function call
  • 6bdf21f autostart info alert
  • b64ad4e undo change
  • 963f81e Refactor app.tsx to use font-semibold for autostart info alert
  • 34d27d1 Update index.ts
  • 31bf8b6 Update index.ts

📊 Changes

3 files changed (+85 additions, -32 deletions)

View changed files

📝 macapp/src/app.tsx (+41 -28)
📝 macapp/src/index.ts (+43 -4)
📝 macapp/tailwind.config.js (+1 -0)

📄 Description

This pull request adds a new function called toggleAutoStartup and a corresponding menu item to the application. The function allows the user to enable or disable auto startup of the application. When the function is called, it updates the application's login item settings and displays a notification to indicate whether auto startup is enabled or disabled. The menu item is added to the tray menu and allows the user to easily toggle the auto startup setting. Additionally, the tray menu is now updated when clicked to avoid displaying stale information.

closes #162

image

image

image

https://github.com/user-attachments/assets/83c43726-4348-4074-9fe8-d893236acf12


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/7097 **Author:** [@clicktodev](https://github.com/clicktodev) **Created:** 10/4/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `configure-auto-startup` --- ### 📝 Commits (7) - [`15b9aa6`](https://github.com/ollama/ollama/commit/15b9aa674d73f44fac181706d5bbcb65e98fa1a7) Update index.ts to add toggleAutoStartup function and menu item - [`13d7a28`](https://github.com/ollama/ollama/commit/13d7a281d2fd1b08b22e5ed1eaf659d248cb6b7d) Refactor index.ts to remove unnecessary updateTray() function call - [`6bdf21f`](https://github.com/ollama/ollama/commit/6bdf21fb5c873f31c2aefcdae8948363bd385288) autostart info alert - [`b64ad4e`](https://github.com/ollama/ollama/commit/b64ad4e9f3e565c7222072dc76db9f8e40024338) undo change - [`963f81e`](https://github.com/ollama/ollama/commit/963f81e1b6855b5a4ab9024b0002e6ec6d18a656) Refactor app.tsx to use font-semibold for autostart info alert - [`34d27d1`](https://github.com/ollama/ollama/commit/34d27d17af46e346eb5e2d0d0181e794bb99ea24) Update index.ts - [`31bf8b6`](https://github.com/ollama/ollama/commit/31bf8b6fd9d0a974e7f06d47eecfff058527f4d2) Update index.ts ### 📊 Changes **3 files changed** (+85 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `macapp/src/app.tsx` (+41 -28) 📝 `macapp/src/index.ts` (+43 -4) 📝 `macapp/tailwind.config.js` (+1 -0) </details> ### 📄 Description This pull request adds a new function called `toggleAutoStartup` and a corresponding menu item to the application. The function allows the user to enable or disable auto startup of the application. When the function is called, it updates the application's login item settings and displays a notification to indicate whether auto startup is enabled or disabled. The menu item is added to the tray menu and allows the user to easily toggle the auto startup setting. Additionally, the tray menu is now updated when clicked to avoid displaying stale information. closes #162 ![image](https://github.com/user-attachments/assets/2ada1db6-5906-49b9-bcdf-ff8f39c7b3d2) ![image](https://github.com/user-attachments/assets/312af349-6c8f-4d0a-b411-c6bf22baf714) ![image](https://github.com/user-attachments/assets/6a6be040-5964-4148-aaca-ff3c7292204a) https://github.com/user-attachments/assets/83c43726-4348-4074-9fe8-d893236acf12 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 23:09:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#43557