Clean up the feature line a bit

Also fix the icon name in the desktop file not including the vendor string.
This commit is contained in:
Tamás Bálint Misius 2022-12-15 12:47:08 +01:00
parent 1beaebb928
commit 2140d6db4b
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2
3 changed files with 14 additions and 14 deletions

4
.github/build.sh vendored
View File

@ -387,10 +387,10 @@ if [[ $PACKAGE_MODE == appimage ]]; then
mkdir -p $appdir/usr/share/icons
cp powder $appdir/usr/bin/powder
mv AppRun $appdir/AppRun
cp ../resources/icon/powder-128.png $appdir/powder.png
cp ../resources/icon/powder-128.png $appdir/powdertoy-powder.png
cp resources/powder.desktop $appdir/uk.co.powdertoy.tpt.desktop
cp appdata.xml $appdir/usr/share/metainfo/uk.co.powdertoy.tpt.appdata.xml
cp $appdir/powder.png $appdir/usr/share/icons/powder.png
cp $appdir/powdertoy-powder.png $appdir/usr/share/icons/powdertoy-powder.png
cp $appdir/uk.co.powdertoy.tpt.desktop $appdir/usr/share/applications/uk.co.powdertoy.tpt.desktop
./appimagetool $appdir $ASSET_PATH
fi

View File

@ -37,17 +37,8 @@ const char *const introTextData =
#elif MOD_ID > 0
" MODVER " MTOS(SNAPSHOT_ID)
#endif
#ifdef X86
" X86"
#endif
#ifdef X86_SSE
" X86_SSE"
#endif
#ifdef X86_SSE2
" X86_SSE2"
#endif
#ifdef X86_SSE3
" X86_SSE3"
#if defined(X86_SSE) || defined(X86_SSE2) || defined(X86_SSE3)
" " IDENT_BUILD
#endif
#ifdef LUACONSOLE
" LUACONSOLE"
@ -57,5 +48,14 @@ const char *const introTextData =
#endif
#ifdef REALISTIC
" REALISTIC"
#endif
#ifdef NOHTTP
" NOHTTP"
#endif
#ifdef DEBUG
" DEBUG"
#endif
#ifdef ENFORCE_HTTPS
" HTTPS"
#endif
;

View File

@ -5,4 +5,4 @@ Comment=@APPCOMMENT@
MimeType=application/vnd.powdertoy.save;x-scheme-handler/ptsave;
Categories=Game;Simulation;
Exec=@APPEXE@ %u
Icon=@APPEXE@
Icon=@APPVENDOR@-@APPEXE@