[PR #2516] [MERGED] Fix a couple duplicate instance bugs #10919

Closed
opened 2026-04-12 23:15:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2516
Author: @dhiltgen
Created: 2/15/2024
Status: Merged
Merged: 2/15/2024
Merged by: @dhiltgen

Base: windows-previewHead: single_tray_app


📝 Commits (5)

  • 272e53a Prepare to distribute standalone windows executable
  • bb9de60 Prevent multiple installers running concurrently
  • 5208cf0 clean up some logging
  • 1ba734d typo
  • 117369a Exit if we detect another copy of Ollama running

📊 Changes

6 files changed (+11 additions, -9 deletions)

View changed files

📝 app/lifecycle/lifecycle.go (+3 -2)
📝 app/lifecycle/updater_windows.go (+2 -1)
📝 app/ollama.iss (+4 -0)
📝 app/tray/wintray/eventloop.go (+0 -5)
📝 docs/windows.md (+1 -1)
📝 scripts/build_windows.ps1 (+1 -0)

📄 Description

  • Prevent the installer running multiple times concurrently
  • Detect multiple apps running and exit with a message

🔄 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/2516 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 2/15/2024 **Status:** ✅ Merged **Merged:** 2/15/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `windows-preview` ← **Head:** `single_tray_app` --- ### 📝 Commits (5) - [`272e53a`](https://github.com/ollama/ollama/commit/272e53a1f56dcefb1b69b94af3e575d2f5e84485) Prepare to distribute standalone windows executable - [`bb9de60`](https://github.com/ollama/ollama/commit/bb9de6037c721aa13c5fcc93f4f110172357248f) Prevent multiple installers running concurrently - [`5208cf0`](https://github.com/ollama/ollama/commit/5208cf09b13a5630ce967e0bccd1821ac8d5309a) clean up some logging - [`1ba734d`](https://github.com/ollama/ollama/commit/1ba734de677331a398c77662376ddab4b5bfff8c) typo - [`117369a`](https://github.com/ollama/ollama/commit/117369aa732cdb49eea7d13bc2f581c6cab9388f) Exit if we detect another copy of Ollama running ### 📊 Changes **6 files changed** (+11 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `app/lifecycle/lifecycle.go` (+3 -2) 📝 `app/lifecycle/updater_windows.go` (+2 -1) 📝 `app/ollama.iss` (+4 -0) 📝 `app/tray/wintray/eventloop.go` (+0 -5) 📝 `docs/windows.md` (+1 -1) 📝 `scripts/build_windows.ps1` (+1 -0) </details> ### 📄 Description - Prevent the installer running multiple times concurrently - Detect multiple apps running and exit ~~with a message~~ --- <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-12 23:15:30 -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#10919