mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
VITA3K: moved it in the RO FS
This commit is contained in:
parent
12b65df1c1
commit
af2889bba1
|
@ -674,14 +674,6 @@ prepare_emulator() {
|
|||
echo "Initializing Vita3K"
|
||||
echo "----------------------"
|
||||
|
||||
# extracting the emulator
|
||||
# NOTE: the emulator is writing in "." so it must be placed in the rw filesystem. A symlink of the binary is already placed in /app/bin/Vita3K
|
||||
rm -rf "/var/data/Vita3K"
|
||||
mkdir -p "/var/data/Vita3K"
|
||||
unzip "/app/retrodeck/vita3k.zip" -d "/var/data/Vita3K"
|
||||
chmod +x "/var/data/Vita3K/Vita3K"
|
||||
rm -f "/var/data/Vita3K/update-vita3k.sh"
|
||||
|
||||
# copying config file
|
||||
cp -fvr "$emuconfigs/vita3k/config.yml" "/var/config/Vita3K"
|
||||
# TODO: this step is to be done properly: Replacing RETRODECKHOMEDIR placeholder
|
||||
|
|
|
@ -1228,20 +1228,17 @@ modules:
|
|||
# Cemu - END
|
||||
|
||||
# Vita3K - START
|
||||
# Vita3K is writing some files in its own directory
|
||||
# So that is placed in /var/data/Vita3K and not in the readonly filesystem
|
||||
# This module is just fetching the file so it will be unique for this build
|
||||
|
||||
- name: vita3k
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
# Creating an empty symlink that will point to Vita3K binary
|
||||
- ln -s /var/data/Vita3K/Vita3K ${FLATPAK_DEST}/bin/Vita3K
|
||||
# Copying the user icon
|
||||
- mkdir -p ${FLATPAK_DEST}/retrodeck
|
||||
- cp retrodeck.png ${FLATPAK_DEST}/retrodeck
|
||||
# preparing the vita3k zip for later
|
||||
- mv ubuntu-latest.zip ${FLATPAK_DEST}/retrodeck/vita3k.zip
|
||||
- unzip "ubuntu-latest.zip" -d "${FLATPAK_DEST}/bin/Vita3K"
|
||||
- chmod +x ""${FLATPAK_DEST}/bin/Vita3K/Vita3K"
|
||||
- rm -f "${FLATPAK_DEST}/bin/Vita3K/update-vita3k.sh"
|
||||
- ln -s ${FLATPAK_DEST}/bin/Vita3K/Vita3K ${FLATPAK_DEST}/bin/Vita3K
|
||||
sources:
|
||||
- type: file
|
||||
url: https://github.com/Vita3K/Vita3K/releases/download/continuous/ubuntu-latest.zip
|
||||
|
|
Loading…
Reference in a new issue