diff --git a/AppRun b/AppRun index e3f6218..41bd164 100755 --- a/AppRun +++ b/AppRun @@ -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" "$@" diff --git a/usr/share/applications/mki3dgame.desktop b/io.github.mki1967.mki3dgame.desktop similarity index 100% rename from usr/share/applications/mki3dgame.desktop rename to io.github.mki1967.mki3dgame.desktop diff --git a/make-AppImage.bash b/make-AppImage.bash index de68b6d..3c47357 100755 --- a/make-AppImage.bash +++ b/make-AppImage.bash @@ -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' diff --git a/mki3dgame.desktop b/mki3dgame.desktop deleted file mode 120000 index 1b04f0e..0000000 --- a/mki3dgame.desktop +++ /dev/null @@ -1 +0,0 @@ -usr/share/applications/mki3dgame.desktop \ No newline at end of file diff --git a/usr/bin b/usr/bin new file mode 120000 index 0000000..16c9d11 --- /dev/null +++ b/usr/bin @@ -0,0 +1 @@ +games \ No newline at end of file diff --git a/usr/share/applications/io.github.mki1967.mki3dgame.desktop b/usr/share/applications/io.github.mki1967.mki3dgame.desktop new file mode 100644 index 0000000..383f644 --- /dev/null +++ b/usr/share/applications/io.github.mki1967.mki3dgame.desktop @@ -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; diff --git a/usr/share/metainfo/io.github.mki1967.mki3dgame.appdata.xml b/usr/share/metainfo/io.github.mki1967.mki3dgame.appdata.xml new file mode 100644 index 0000000..13a8f20 --- /dev/null +++ b/usr/share/metainfo/io.github.mki1967.mki3dgame.appdata.xml @@ -0,0 +1,31 @@ + + + io.github.mki1967.mki3dgame + FSFAP + GPL-3.0 + io.github.mki1967.mki3dgame + A simple OpenGL game of searching for tokens in 3D stages. + +

+ A simple OpenGL game of searching for tokens in 3D stages. + You also have to avoid the monsters. (They can capture you.) +

+

+ Any user can prepare his own assets with stages, monsters and tokens + designned with MKI3D RAPID MODELLER. +

+
+ io.github.mki1967.mki3dgame.desktop + https://mki1967.github.io/mki3dgame + https://github.com/mki1967/mki3dgame/issues + https://github.com/mki1967/mki3dgame/blob/master/README.md + + + A stage of mki3dgame + https://mki1967.github.io/mki3dgame/img/screen-shot.png + + + + io.github.mki1967.mki3dgame + +
diff --git a/usr/share/metainfo/mki3dgame.appdata.xml b/usr/share/metainfo/mki3dgame.appdata.xml deleted file mode 100644 index 5249b6f..0000000 --- a/usr/share/metainfo/mki3dgame.appdata.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - mki3dgame - GPL-3.0 - GPL-3.0 - mki3dgame-x86_64.AppImage - A game of searching in 3D stages - -

Find and collect tokens in 3D stages among flying monsters. -

-
- mki3dgame.desktop - https://mki1967.github.io/mki3dgame - - - https://mki1967.github.io/mki3dgame/img/screen-shot.png - - - - mki3dgame.desktop - -