From c4362adc4af0c4dcdbb2346a9e077bdf580d8007 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 31 Jan 2024 23:15:22 +0100 Subject: fix native player --- web/native-protocol/uninstall | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 web/native-protocol/uninstall (limited to 'web/native-protocol/uninstall') 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 -- cgit v1.2.3-70-g09d2