Description
Describe the problem
The new DMG file in ArduinoCreateAgent-1.3.1-osx-amd64-installer.dmg is a great improvement from the old installer. But since the new installation path (/Application/ArduinoCreateAgent.app
) is different from the older one (/Users/sebastianwikstrom/Applications/ArduinoCreateAgent
), this is will not result in the old application being overwritten. Instead, the user has to manually remove the old application.
In some cases, the presense of an older Create Agent version can trigger this error:
Problem 1: Assuming the default installation path
It seems like the trigger for the error is the presence of an ~/Applications/ArduinoCreateAgent
folder.
An older version of the Create Agent can be present and running from a different location, without triggering the error. This results in two instances of the application running:
On the other hand, the error is produced even if the ~/Applications/ArduinoCreateAgent
folder is empty. This seems unnecessary.
Problem 2: Does not trigger if Create Agent is opened via Spotlight when a different version is running
Opening the application via Spotlight does not display the error or launch the application.
To reproduce
Running two instances at the same time:
- Install or move ArduinoCreateAgent.app (1.2.7) to a path that is not
~/Applications/ArduinoCreateAgent
- Run ArduinoCreateAgent.app (1.2.7) so it appears in the menu bar
- If the
~/Applications/ArduinoCreateAgent
folder exists, remove it. - Run the new ArduinoCreateAgent.app (1.3.1)
🐛 Another instance of the application starts, with two Create Agent icons now appearing in the menu bar
Spotlight issue:
- Have both 1.2.7 and 1.3.1 installed.
- Run 1.2.7
- Press Command + Space to open Spotlight
- Search for 'ArduinoCreateAgent'
- Open the newer version (in Applications by default)
🐛 Nothing happens
Expected behavior
- I think the application shouldn't care about the presence of any particular file or folder. I would only expect to get an error if another Create Agent process is currently running.
- Opening the application via Spotlight should not prevent the error from being displayed.
Arduino Create Agent version
1.3.1
Operating system
macOS
Operating system version
13.2.1 (22D68)
Browser
Chrome
Browser version
Version 113.0.5672.126 (Official Build) (arm64)
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest version
- My report contains all necessary details