about summary refs log tree commit diff stats
path: root/install.sh
diff options
context:
space:
mode:
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