mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
TOOLS: added a patch helper for ES-DE
This commit is contained in:
parent
e6193709e3
commit
9eb04160db
27
rd-submodules/es-de/patch_helper.sh
Executable file
27
rd-submodules/es-de/patch_helper.sh
Executable file
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir /tmp
|
||||||
|
|
||||||
|
branch="2de8282f6a5feaf86424b1175154c5fc2585f70a"
|
||||||
|
git clone "https://gitlab.com/es-de/emulationstation-de.git" /tmp/emulationstation-de
|
||||||
|
|
||||||
|
pushd .
|
||||||
|
cd /tmp/emulationstation-de
|
||||||
|
git checkout $branch
|
||||||
|
popd
|
||||||
|
|
||||||
|
mkdir patches-tmp
|
||||||
|
|
||||||
|
cp /tmp/emulationstation-de/es-app/src/guis/GuiMenu.cpp ./patches-tmp
|
||||||
|
cp /tmp/emulationstation-de/es-app/src/guis/GuiMenu.h ./patches-tmp
|
||||||
|
cp /tmp/emulationstation-de/es-app/src/views/ViewController.cpp ./patches-tmp
|
||||||
|
cp /tmp/emulationstation-de/es-core/src/Window.cpp ./patches-tmp
|
||||||
|
|
||||||
|
read -p "Please edit the files in \"patches-tmp\" and press enter to continue."
|
||||||
|
|
||||||
|
diff -au1r /tmp/emulationstation-de/es-app/src/guis/GuiMenu.cpp ./patches-tmp/GuiMenu.cpp > GuiMenu.cpp.patch
|
||||||
|
diff -au1r /tmp/emulationstation-de/es-app/src/guis/GuiMenu.h ./patches-tmp/GuiMenu.h > GuiMenu.h.patch
|
||||||
|
diff -au1r /tmp/emulationstation-de/es-app/src/views/ViewController.cpp ./patches-tmp/ViewController.cpp > ViewController.cpp.patch
|
||||||
|
diff -au1r /tmp/emulationstation-de/es-core/src/Window.cpp ./patches-tmp/Window.cpp > Window.cpp.patch
|
||||||
|
|
||||||
|
#rm -rf patches-tmp
|
Loading…
Reference in a new issue