mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
linux installation script
This commit is contained in:
parent
f28f354992
commit
97904cc0f3
23
etc/install-linux.sh
Normal file
23
etc/install-linux.sh
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cat >"$HOME/.local/share/applications/yarr.desktop" <<END
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=yarr
|
||||||
|
Exec=$HOME/.local/bin/yarr -open
|
||||||
|
Icon=yarr
|
||||||
|
Type=Application
|
||||||
|
Categories=Internet;
|
||||||
|
END
|
||||||
|
|
||||||
|
cat >"$HOME/.local/share/icons/yarr.svg" <<END
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-anchor-favicon">
|
||||||
|
<circle cx="12" cy="5" r="3" stroke-width="4" stroke="#ffffff"></circle>
|
||||||
|
<line x1="12" y1="22" x2="12" y2="8" stroke-width="4" stroke="#ffffff"></line>
|
||||||
|
<path d="M5 12H2a10 10 0 0 0 20 0h-3" stroke-width="4" stroke="#ffffff"></path>
|
||||||
|
|
||||||
|
<circle cx="12" cy="5" r="3"></circle>
|
||||||
|
<line x1="12" y1="22" x2="12" y2="8"></line>
|
||||||
|
<path d="M5 12H2a10 10 0 0 0 20 0h-3"></path>
|
||||||
|
</svg>
|
||||||
|
END
|
20
readme.md
20
readme.md
@ -23,26 +23,12 @@ To open the app follow the instructions provided [here][macos-open] or run the c
|
|||||||
|
|
||||||
### windows
|
### windows
|
||||||
|
|
||||||
Download `yarr-*-windows32.zip`, unzip it, open `yarr.exe`
|
Download `yarr-*-windows64.zip`, unzip it, open `yarr.exe`
|
||||||
|
|
||||||
### linux
|
### linux
|
||||||
|
|
||||||
The Linux version doesn't come with the desktop environment integration.
|
Download `yarr-*-windows`, unzip it, place `yarr` in `$HOME/.local/bin`
|
||||||
For easy access on DE it is recommended to create a desktop menu entry by
|
and run [the script][etc/install-linux.sh].
|
||||||
by following the steps below:
|
|
||||||
|
|
||||||
unzip -x yarr*.zip
|
|
||||||
sudo mv yarr /usr/local/bin/yarr
|
|
||||||
sudo nano /usr/local/share/applications/yarr.desktop
|
|
||||||
|
|
||||||
and pasting the content:
|
|
||||||
|
|
||||||
[Desktop Entry]
|
|
||||||
Name=yarr
|
|
||||||
Exec=/usr/local/bin/yarr -open
|
|
||||||
Icon=rss
|
|
||||||
Type=Application
|
|
||||||
Categories=Internet;
|
|
||||||
|
|
||||||
For self-hosting, see `yarr -h` for auth, tls & server configuration flags.
|
For self-hosting, see `yarr -h` for auth, tls & server configuration flags.
|
||||||
For building from source code, see [build.md](build.md)
|
For building from source code, see [build.md](build.md)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user