diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-31 23:15:22 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-31 23:15:22 +0100 |
commit | c4362adc4af0c4dcdbb2346a9e077bdf580d8007 (patch) | |
tree | 0500be10f312714973338969c50dd8319d839965 /web/native-protocol/uninstall | |
parent | 39a4b10789ff9f97ddc3de7d55bc845cabaac333 (diff) | |
download | jellything-c4362adc4af0c4dcdbb2346a9e077bdf580d8007.tar jellything-c4362adc4af0c4dcdbb2346a9e077bdf580d8007.tar.bz2 jellything-c4362adc4af0c4dcdbb2346a9e077bdf580d8007.tar.zst |
fix native player
Diffstat (limited to 'web/native-protocol/uninstall')
-rwxr-xr-x | web/native-protocol/uninstall | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/native-protocol/uninstall b/web/native-protocol/uninstall new file mode 100755 index 0000000..42e074e --- /dev/null +++ b/web/native-protocol/uninstall @@ -0,0 +1,12 @@ +#!/bin/fish +if fish_is_root_user + echo 'Global uninstallation' + rm /usr/local/bin/jellynative + rm /usr/local/share/applications/jellynative.desktop + update-desktop-database /usr/local/share/applications +else + echo 'User uninstallation' + rm ~/.local/bin/jellynative + rm ~/.local/share/applications/jellynative.desktop + update-desktop-database ~/.local/share/applications +end |