Skip to content

Commit

Permalink
Merge branch 'appimage-tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
mki1967 committed Dec 15, 2017
2 parents a4f6f22 + b80779b commit 7ee4b9f
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 26 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" "$@"
File renamed without changes.
12 changes: 10 additions & 2 deletions make-AppImage.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,20 @@ mkdir build-AppImage # do everything in the 'build' directory
pushd ../ # Go to the parent directory.
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 mki3dgame
## rm -rf mki3dgame/ # remove the rsync-ed directory
appimagetool-x86_64.AppImage io.github.mki1967.mki3dgame
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.

1 change: 1 addition & 0 deletions usr/bin
7 changes: 7 additions & 0 deletions usr/share/applications/io.github.mki1967.mki3dgame.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Name=io.github.mki1967.mki3dgame
Type=Application
Icon=mkisg_icon
Terminal=true
Exec=io.github.mki1967.mki3dgame
Categories=Game;
31 changes: 31 additions & 0 deletions usr/share/metainfo/io.github.mki1967.mki3dgame.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.mki1967.mki3dgame</id>
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0</project_license>
<name>io.github.mki1967.mki3dgame</name>
<summary>A simple OpenGL game of searching for tokens in 3D stages. </summary>
<description>
<p>
A simple OpenGL game of searching for tokens in 3D stages.
You also have to avoid the monsters. (They can capture you.)
</p>
<p>
Any user can prepare his own assets with stages, monsters and tokens
designned with MKI3D RAPID MODELLER.
</p>
</description>
<x-launchable type="desktop-id">io.github.mki1967.mki3dgame.desktop</x-launchable>
<url type="homepage">https://mki1967.github.io/mki3dgame</url>
<url type="bugtracker">https://github.com/mki1967/mki3dgame/issues</url>
<url type="help">https://github.com/mki1967/mki3dgame/blob/master/README.md</url>
<screenshots>
<screenshot type="default">
<caption>A stage of mki3dgame</caption>
<image>https://mki1967.github.io/mki3dgame/img/screen-shot.png</image>
</screenshot>
</screenshots>
<provides>
<binary>io.github.mki1967.mki3dgame</binary>
</provides>
</component>
22 changes: 0 additions & 22 deletions usr/share/metainfo/mki3dgame.appdata.xml

This file was deleted.

0 comments on commit 7ee4b9f

Please sign in to comment.