about summary refs log tree commit diff stats
path: root/install.sh
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-09-20 10:56:11 -0400
committerCharadon <dev@iotib.net>2022-09-20 10:56:11 -0400
commit6663682763d953ba20805fd6a15f79c06f4ac7f4 (patch)
treea91aa5b6034e1fcb9a7628bcdd2306bc5bb896df /install.sh
parentf769bb9adcb665d08b0e9e65e8db82fc00c2347e (diff)
downloadPong-C-6663682763d953ba20805fd6a15f79c06f4ac7f4.tar.gz
Controller support for settings screen and some more build system stuff
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 3c8a612..08e74ee 100755
--- a/install.sh
+++ b/install.sh
@@ -14,14 +14,15 @@ set -u
 echo "Installing Project."
 set -x
 mkdir -p $CONFIG_INSTALL_PREFIX
-cp -r ./resources $CONFIG_INSTALL_PREFIX/resources
-cp -r ./docs $CONFIG_INSTALL_PREFIX/docs
+cp -r ./resources $CONFIG_INSTALL_PREFIX/
+cp -r ./docs $CONFIG_INSTALL_PREFIX/
 install -m755 $CONFIG_BUILD_DIR/bin/Pong* $CONFIG_INSTALL_PREFIX/
 
 if [ "$CONFIG_FLATPAK" = "true" ];
 then
 	install -Dm755 src/flatpak/flatpak_launch.sh /app/bin/flatpak_launch.sh
 	install -Dm644 src/Pong.desktop /app/share/applications/net.iotib.Pong.desktop
+	install -Dm644 net.iotib.Pong.metainfo.xml /app/share/appdata/net.iotib.Pong.metainfo.xml
 	install -Dm644 resources/icon.svg /app/share/icons/hicolor/scalable/apps/net.iotib.Pong.svg
 fi
 set +x