summarylogtreecommitdiffstats
path: root/0001-Change-paths-for-packaging.patch
blob: 5d2da80d5a5c52286a5883894e722a20a69d579f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 91b59352e76e7367319f138fac863da79c0d8712 Mon Sep 17 00:00:00 2001
From: "j.r" <j.r@jugendhacker.de>
Date: Thu, 14 Jan 2021 23:57:02 +0100
Subject: [PATCH 1/2] Change paths for packaging

---
 youplay.desktop | 4 ++--
 youplay.sh      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/youplay.desktop b/youplay.desktop
index 2b66ce6..1e85b1e 100755
--- a/youplay.desktop
+++ b/youplay.desktop
@@ -2,11 +2,11 @@
 Name=YouPlay
 GenericName=Play music from Youtube
 Comment=Play and download music from Youtube
-Exec=/home/ralf/dev/youplay/youplay.sh
+Exec=/usr/bin/youplay --gui
 Terminal=false
 Type=Application
 StartupNotify=false
-Icon=/home/ralf/dev/youplay/youplay.svg
+Icon=/usr/share/youplay/youplay.svg
 Categories=GNOME;GTK;Utility;Internet;Music
 Keywords=Multimedia;Music;Internet;Youtube
 Hidden=false
diff --git a/youplay.sh b/youplay.sh
index 6d2fb87..571f78b 100755
--- a/youplay.sh
+++ b/youplay.sh
@@ -1,3 +1,3 @@
 #!/bin/bash
-cd `dirname $0`
-python3 youplay.py --gui
+cd '/usr/share/youplay/'
+python3 youplay.py $*
-- 
2.30.0