fix: install app in user Applications for discovery
This commit is contained in:
@@ -20,12 +20,14 @@ The resulting `.build/terebi.app` is self-contained: copy the whole app to a com
|
||||
### Install
|
||||
|
||||
```sh
|
||||
make install # builds a release and installs under ~/.local
|
||||
make install # app: ~/Applications; CLI: ~/.local/bin
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
terebi --help
|
||||
```
|
||||
|
||||
Use `make install PREFIX="/custom/path"` to change the prefix, or `make release` for just `.build/release/terebi.app`. Installation places the app in `lib/terebi/terebi.app` and its CLI symlink in `bin/terebi`. Quit running players before updating.
|
||||
Installation builds a release, places `terebi.app` in `~/Applications`, registers it with Launch Services, and requests Spotlight indexing. The CLI symlink is `~/.local/bin/terebi`; any old app under `~/.local/lib/terebi` is removed. Quit running players before updating.
|
||||
|
||||
Use `make install APPDIR="/Applications"` to change the app directory (it must be writable), `PREFIX="/custom/path"` to change the CLI prefix (`bin/terebi`), or both. Use `make release` for just `.build/release/terebi.app`.
|
||||
|
||||
Builds are ad-hoc signed for personal use, not notarized. Bundled licenses and source archives are in the app's Resources; public binary redistribution requires a separate dependency/license audit, including the GPLv3+ standalone yt-dlp bundle.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user