CLI app discovery broken under certain circumstances (`utmctl` symlink)
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
I don't have admin permissions, but I do have homebrew, so I installed UTM via homebrew with `--appdir=~/Applications/`. `utmctl`, however, errors as follows:
```console
2024-08-15 20:28:29.203 utmctl[28511:15501686] Can't find app with file path /Applications/UTM.app
Error: Application not found.
```
I filed an issue over at Homebrew/homebrew-cask#182568, and I was directed to file an issue here.
**Configuration**
* UTM Version: 4.5.3 (I'm about to upgrade, I'll update it if it fixes it)
* macOS Version: 14.6.1
* Mac Chip: M1
**Crash log**
n/a
**Debug log**
n/a
**Upload VM**
n/a
---
I haven't written Swift in ages, but I'm happy to try to fix it.
Contributor guide
Assessment
This issue has not been assessed yet.