Update install method, add icon and desktop file

pull/3/head
lawl 4 years ago
parent 8f90de5f95
commit 9d406a600c

@ -4,12 +4,22 @@ dev: rnnoise
go build -o bin/noisetorch
release: rnnoise
mkdir -p bin/
mkdir -p tmp/
mkdir -p tmp/.local/share/icons/hicolor/256x256/apps/
cp assets/icon/noisetorch.png tmp/.local/share/icons/hicolor/256x256/apps/
mkdir -p tmp/.local/share/applications/
cp assets/noisetorch.desktop tmp/.local/share/applications/
mkdir -p tmp/.local/bin/
go generate
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags "-static"' .
upx noisetorch
tar cvzf NoiseTorch_x64.tgz noisetorch
rm noisetorch
mv NoiseTorch_x64.tgz bin/
mv noisetorch tmp/.local/bin/
cd tmp/; \
tar cvzf ../bin/NoiseTorch_x64.tgz .
rm -rf tmp/
rnnoise:
cd librnnoise_ladspa/; \
cmake . -DBUILD_VST_PLUGIN=OFF -DBUILD_LV2_PLUGIN=OFF -DBUILD_LADSPA_PLUGIN=ON; \

@ -17,20 +17,20 @@ Don't forget to ~~like, comment and subscribe~~ leave a star ⭐ if this sounds
## Download
NoiseTorch offers the following installation methods:
[Download the latest release from GitHub](https://github.com/lawl/NoiseTorch/releases).
#### Snap
Unpack the `tgz` file, into your home directory.
Coming soon™.
tar -C $HOME -xzf NoiseTorch_x64.tgz
#### Flatpak
This will unpack the application, icon and desktop entry to the correct place.
Depending on your desktop environment you may need to tell it to rescan for applications, or tell it to do a refresh now.
Coming soon™.
With gnome this can be done with:
#### Manual (no automatic updates)
[Download the latest release from GitHub](https://github.com/lawl/NoiseTorch/releases).
gtk-update-icon-cache
Unpack the `tgz` file, and double click the executable.
You now have a `noisetorch` binary and desktop entry on your system.
## Usage

@ -0,0 +1,5 @@
Artist: Salee Design
www.salleedesign.com
info@salleedesign.com
Source: https://iconarchive.com/show/music-icons-by-salleedesign/microphone-foam-green-icon.html
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

@ -0,0 +1,8 @@
[Desktop Entry]
Name=NoiseTorch
Comment=Create a virtual microphone that suppresses noise, in any application.
Exec=noisetorch
Icon=noisetorch.png
Terminal=false
Type=Application
Categories=Audio;AudioVideo;Utility;
Loading…
Cancel
Save