Update README.md

This commit is contained in:
XargonWan 2022-04-22 14:29:46 +09:00 committed by GitHub
parent ab27ea418e
commit 69054c0fc7

View file

@ -30,48 +30,3 @@ No, RetroDECK doesn't support Windows, but the project is fully open source so y
## Can I help?
Of course, any help is appreciated, and not only byp rogramming, just check out our [Discord](https://discord.gg/Dz3szYsP8g)!
<br/><br/>
# Developer notes: build instructions
If you want to build the RetroDECK flatpak on your machine for developing or just testing purposes:
```
cd ~
git clone --recursive https://github.com/XargonWan/RetroDECK.git
cd RetroDECK
git submodule init
git submodule update
```
install `flatpak flatpak-builder p7zip-full` with your distro's package manager.
```flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
```
To build the stable release:
```
flatpak-builder --user --install --force-clean --repo=local ~/RetroDECK/retrodeck-main ~/RetroDECK/com.xargon.retrodeck.yml
flatpak build-bundle local ~/RetroDECK.flatpak com.xargon.retrodeck
```
Or alternatively, to build the cooker (experimental) release:
```
git checkout cooker
flatpak-builder --user --install --force-clean --repo=local ~/RetroDECK/retrodeck-cooker ~/RetroDECK/com.xargon.retrodeck.yml
flatpak build-bundle local ~/RetroDECK.flatpak com.xargon.retrodeck
```
Install RetroDECK:
```
flatpak install com.xargon.retrodeck
```
Run RetroDECK:
```
flatpak run com.xargon.retrodeck
```
Uninstall RetroDECK:
```
flatpak uninstall com.xargon.retrodeck
```