Add desktop and icon files and install into the correct place

Remove 48x48 icon; use 256x256 icon only.
Remove icons from the executable.
No need to call gtk_window_set_default_icon_name() anymore.
Add desktop file.
Add install and uninstall Makefile targets.
Update USAGE.md with installation instructions.
Thanks to @szszoke for figuring this one out!

Fixes #2.
This commit is contained in:
Geoffrey D. Bennett
2022-03-15 01:24:03 +10:30
parent 5b1f4f2b61
commit 8257949e5d
8 changed files with 51 additions and 9 deletions

View File

@@ -71,6 +71,19 @@ To run:
./alsa-scarlett-gui
```
You can install it into `/usr/local` (binary, desktop file, and icon)
with:
```
sudo make install
```
And uninstall with:
```
sudo make uninstall
```
## No interface connected
If no interface is detected (usually because there isnt one