Skip to content

Commit

Permalink
Reached the state swallowed by appstreamcli version 0.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mki1967 committed Dec 15, 2017
1 parent ad06c53 commit 893f12e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
4 changes: 3 additions & 1 deletion AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ APP_DIR=`dirname $0`
APP_DIR=`cd "$APP_DIR";pwd`
XDG_DATA_DIRS="$APP_DIR/usr/share:$XDG_DATA_DIRS"; export XDG_DATA_DIRS
MKI3DGAME_ASSETS="$APP_DIR/assets"; export MKI3DGAME_ASSETS
exec "$APP_DIR/mki3dgame" "$@"
# exec "$APP_DIR/mki3dgame" "$@"
# exec "$APP_DIR/io.github.mki1967.mki3dgame" "$@"
exec "$APP_DIR/usr/games/io.github.mki1967.mki3dgame" "$@"
6 changes: 5 additions & 1 deletion make-AppImage.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@ echo 'rsync-ing ...'
rsync -av --exclude-from=mki3dgame/rsync-exclude-patterns-AppImage mki3dgame mki3dgame/build-AppImage/
pushd mki3dgame/build-AppImage/
mv mki3dgame io.github.mki1967.mki3dgame ## change the name to reverse domain
pushd io.github.mki1967.mki3dgame
mv ./mki3dgame usr/games/io.github.mki1967.mki3dgame
popd # return to the directory
popd # return to the directory
popd # return to the directory

pushd build-AppImage/ # Go to the build directory.
echo 'Building AppImage ...'
## appimagetool-x86_64.AppImage mki3dgame
## rm -rf mki3dgame/ # remove the rsync-ed directory
appimagetool-x86_64.AppImage io.github.mki1967.mki3dgame
rm -rf mki3dgame/ # remove the rsync-ed directory
rm -rf io.github.mki1967.mki3dgame/ # remove the rsync-ed directory
popd # return to the directory

echo 'Your AppImage should be in: ./build-AppImage/mki3dgame-x86_64.AppImage'
1 change: 0 additions & 1 deletion mki3dgame.desktop

This file was deleted.

4 changes: 2 additions & 2 deletions usr/share/applications/io.github.mki1967.mki3dgame.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=mki3dgame
Name=io.github.mki1967.mki3dgame
Type=Application
Icon=mkisg_icon
Terminal=true
Exec=mki3dgame
Exec=io.github.mki1967.mki3dgame
Categories=Game;
7 changes: 0 additions & 7 deletions usr/share/applications/mki3dgame.desktop

This file was deleted.

4 changes: 2 additions & 2 deletions usr/share/metainfo/io.github.mki1967.mki3dgame.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>io.github.mki1967.mki3dgame</id>
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0</project_license>
<name>mki3dgame</name>
<name>io.github.mki1967.mki3dgame</name>
<summary>A simple OpenGL game of searching for tokens in 3D stages. </summary>
<description>
<p>
Expand All @@ -23,6 +23,6 @@
</screenshots>
<url type="homepage">https://github.com/mki1967/mki3dgame</url>
<provides>
<binary>mki3dgame</binary>
<binary>io.github.mki1967.mki3dgame</binary>
</provides>
</component>

0 comments on commit 893f12e

Please sign in to comment.