2023-03-13 17:34:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-09-26 07:08:29 +00:00
|
|
|
# WARNING: DANGEROUS! Don't use this script lightly
|
2023-08-31 12:32:36 +00:00
|
|
|
|
2023-03-13 17:34:56 +00:00
|
|
|
git submodule deinit --all
|
|
|
|
rm rd-submodules/retroarch
|
|
|
|
git rm -rf --cached rd-submodules/retroarch
|
|
|
|
rm -rf .git/modules/rd-submodules/retroarch
|
2023-12-04 15:30:51 +00:00
|
|
|
rm rd-submodules/ryujinx
|
|
|
|
git rm -rf --cached rd-submodules/ryujinx
|
|
|
|
rm -rf .git/modules/rd-submodules/ryujinx
|
2023-03-13 17:34:56 +00:00
|
|
|
rm -rf shared-modules
|
|
|
|
git rm -rf --cached shared-modules
|
|
|
|
rm -rf .git/modules/shared-modules
|
|
|
|
|
|
|
|
git submodule init
|
|
|
|
git submodule add https://github.com/flathub/shared-modules.git
|
|
|
|
git submodule add https://github.com/flathub/org.libretro.RetroArch rd-submodules/retroarch
|
2023-12-04 15:30:51 +00:00
|
|
|
git submodule add https://github.com/flathub/org.ryujinx.Ryujinx rd-submodules/ryujinx
|
2023-03-13 17:34:56 +00:00
|
|
|
|
|
|
|
git submodule update --remote --merge --recursive
|