fix path problems

This commit is contained in:
Roma 2023-08-11 23:38:20 +02:00
parent ee86e24768
commit bf45bdec93
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ package() {
install -Dm755 ${srcdir}/welcome.py ${pkgdir}/usr/share/tromjaro-welcome-app
install -d ${pkgdir}/usr/bin
ln -s ${pkgdir}/usr/share/tromjaro-welcome-app/welcome.py ${pkgdir}/usr/bin/tromjaro-welcome-app
ln -s /usr/share/tromjaro-welcome-app/welcome.py ${pkgdir}/usr/bin/tromjaro-welcome-app
install -d ${pkgdir}/usr/share/applications
install -Dm644 ${srcdir}/tromjaro-welcome-app.desktop ${pkgdir}/usr/share/applications

View File

@ -11,7 +11,7 @@ from gi.repository import Gtk, Gdk, Gio
workdir_path = os.path.dirname(os.path.realpath(__file__))
def resolve_workdir_path(filename):
return os.path.join(dir_path, filename)
return os.path.join(workdir_path, filename)
DESKTOP_FILE = "tromjaro-welcome-app.desktop"
DESKTOP_FILE_PATH = os.path.join("/usr/share/applications", DESKTOP_FILE)