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 mkdir -p $appdir/usr/share/icons
cp powder $appdir/usr/bin/powder cp powder $appdir/usr/bin/powder
mv AppRun $appdir/AppRun 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 resources/powder.desktop $appdir/uk.co.powdertoy.tpt.desktop
cp appdata.xml $appdir/usr/share/metainfo/uk.co.powdertoy.tpt.appdata.xml 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 cp $appdir/uk.co.powdertoy.tpt.desktop $appdir/usr/share/applications/uk.co.powdertoy.tpt.desktop
./appimagetool $appdir $ASSET_PATH ./appimagetool $appdir $ASSET_PATH
fi fi

View File

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

View File

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