mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-27 08:05:42 +00:00
29 lines
880 B
Bash
Executable file
29 lines
880 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# WARNING: DANGEROUS! Don't use this script lightly
|
|
|
|
git submodule deinit -f --all
|
|
|
|
rm -rf rd-submodules/retroarch
|
|
git rm -rf --cached rd-submodules/retroarch
|
|
rm -rf .git/modules/rd-submodules/retroarch
|
|
|
|
rm -rf rd-submodules/ryujinx
|
|
git rm -rf --cached rd-submodules/ryujinx
|
|
rm -rf .git/modules/rd-submodules/ryujinx
|
|
|
|
rm -rf rd-submodules/shared-modules
|
|
git rm -rf --cached rd-submodules/shared-modules
|
|
rm -rf .git/modules/rd-submodules/shared-modules
|
|
|
|
rm .gitmodules
|
|
|
|
# Do a commit here before giving the next commands
|
|
|
|
git submodule add https://github.com/flathub/shared-modules.git rd-submodules/shared-modules
|
|
git submodule add https://github.com/flathub/org.libretro.RetroArch.git rd-submodules/retroarch
|
|
git submodule add https://github.com/flathub/org.ryujinx.Ryujinx rd-submodules/ryujinx
|
|
|
|
git submodule init
|
|
git submodule update --remote --merge --recursive
|