From 077f41af13044aa3f1542a8c08d41d7297fb183b Mon Sep 17 00:00:00 2001 From: JMARyA Date: Tue, 15 Apr 2025 19:39:53 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20n64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PKGBUILD | 4 ++-- root/usr/share/applications/Game Title.desktop | 4 ++-- setup.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 5a25ab4..8001194 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,8 +2,8 @@ pkgname=game.title pkgver=1.0 pkgrel=1 pkgdesc="" -arch=('x86_64') -depends=('wine' 'umu-launcher') +arch=('any') +optdepends=('simple64') makedepends=('rsync') source=() sha256sums=() diff --git a/root/usr/share/applications/Game Title.desktop b/root/usr/share/applications/Game Title.desktop index bf16d5e..098ab6c 100644 --- a/root/usr/share/applications/Game Title.desktop +++ b/root/usr/share/applications/Game Title.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Name= Comment= -Exec=env WINEPREFIX="$HOME/Games/umu/game.title" STEAM_COMPAT_LIBRARY_PATHS="/games" bash -c "cd /games/game.title && umu-run /games/game.title/_Redist/vc_redist.x64.exe /Install /Quiet && umu-run /games/game.title/_Redist/vc_redist.x86.exe /Install /Quiet && umu-run /games/game.title/game.exe" -Icon=/usr/share/icons/game.title/icon1.ico +Exec=simple64-gui /games/rom/n64/game.title.z64 +Icon=/usr/share/icons/game.title/icon1.png StartupNotify=true Terminal=false Type=Application diff --git a/setup.sh b/setup.sh index f964b2f..34b2d49 100644 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,7 @@ safe_title=$(python3 -c "print(\"$name\".replace(\" \", \".\").lower())") mv -v "root/usr/share/applications/Game Title.desktop" "root/usr/share/applications/$name.desktop" -mkdir -p root/games/$safe_title +mkdir -p root/rom/n64/ mkdir -p root/usr/share/icons/$safe_title sd "game.title" "$safe_title" "root/usr/share/applications/$name.desktop" sd "game.title" "$safe_title" PKGBUILD -rm setup.sh \ No newline at end of file +rm setup.sh