✨ n64
This commit is contained in:
parent
2847e085cc
commit
077f41af13
3 changed files with 6 additions and 6 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -2,8 +2,8 @@ pkgname=game.title
|
||||||
pkgver=1.0
|
pkgver=1.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="<GAME_DESC>"
|
pkgdesc="<GAME_DESC>"
|
||||||
arch=('x86_64')
|
arch=('any')
|
||||||
depends=('wine' 'umu-launcher')
|
optdepends=('simple64')
|
||||||
makedepends=('rsync')
|
makedepends=('rsync')
|
||||||
source=()
|
source=()
|
||||||
sha256sums=()
|
sha256sums=()
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=<GAME_TITLE>
|
Name=<GAME_TITLE>
|
||||||
Comment=<GAME_DESC>
|
Comment=<GAME_DESC>
|
||||||
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"
|
Exec=simple64-gui /games/rom/n64/game.title.z64
|
||||||
Icon=/usr/share/icons/game.title/icon1.ico
|
Icon=/usr/share/icons/game.title/icon1.png
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
|
|
4
setup.sh
4
setup.sh
|
@ -1,7 +1,7 @@
|
||||||
safe_title=$(python3 -c "print(\"$name\".replace(\" \", \".\").lower())")
|
safe_title=$(python3 -c "print(\"$name\".replace(\" \", \".\").lower())")
|
||||||
mv -v "root/usr/share/applications/Game Title.desktop" "root/usr/share/applications/$name.desktop"
|
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
|
mkdir -p root/usr/share/icons/$safe_title
|
||||||
sd "game.title" "$safe_title" "root/usr/share/applications/$name.desktop"
|
sd "game.title" "$safe_title" "root/usr/share/applications/$name.desktop"
|
||||||
sd "game.title" "$safe_title" PKGBUILD
|
sd "game.title" "$safe_title" PKGBUILD
|
||||||
rm setup.sh
|
rm setup.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue