utmctl in a renamed UTM.app fails with applicationNotFound
Open
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
When testing a new UTM beta version, I usually rename `UTM.app` to `UTM-{version}.app` and keep the previous version installed.
Doings so with version 4.1.2 and running `utmctl` returns an `applicationNotFound` error.
**Configuration**
* UTM Version: 4.1.2
* macOS Version: 13.1
* Mac Chip (Intel, M1, ...): M1
**Crash log**
```sh
$ ln -s /Applications/UTM-4.1.2.app/Contents/MacOS/utmctl ~/.local/bin/utmctl
$ utmctl list
2022-12-17 11:01:08.544 utmctl[655:1692025] Can't find app with file path /Applications/UTM.app
Error: applicationNotFound
```
Contributor guide
Assessment
This issue has not been assessed yet.