Updated linux desktop installation to use higher resolution icon. Added a white trim to the icon to have contrast on dark desktop backgrounds.
This commit is contained in:
parent
1d2fa00335
commit
040c7abaef
|
@ -6,7 +6,7 @@ GenericName=NES/Famicom emulator
|
|||
NoDisplay=false
|
||||
Comment=Emulate NES ROMs
|
||||
Exec=/usr/bin/fceux
|
||||
Icon=/usr/share/pixmaps/fceux.png
|
||||
Icon=/usr/share/pixmaps/fceux1.png
|
||||
Terminal=false
|
||||
MimeType=application/x-nes-rom
|
||||
Categories=Game;Emulator;
|
||||
|
|
BIN
fceux1.png
BIN
fceux1.png
Binary file not shown.
Before (image error) Size: 37 KiB After (image error) Size: 83 KiB |
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
SRC_PNG=../fceux1.png
|
||||
ICON_PATH=/usr/share/icons/hicolor
|
||||
|
||||
convert -resize 32x32 $SRC_PNG fceux-32x32.png
|
||||
convert -resize 48x48 $SRC_PNG fceux-48x48.png
|
||||
convert -resize 64x64 $SRC_PNG fceux-64x64.png
|
||||
convert -resize 72x72 $SRC_PNG fceux-72x72.png
|
||||
convert -resize 96x96 $SRC_PNG fceux-96x96.png
|
||||
convert -resize 128x128 $SRC_PNG fceux-128x128.png
|
||||
convert -resize 256x256 $SRC_PNG fceux-256x256.png
|
||||
|
||||
#sudo cp -f fceux-32x32.png $ICON_PATH/32x32/apps/fceux.png
|
||||
#sudo cp -f fceux-48x48.png $ICON_PATH/48x48/apps/fceux.png
|
||||
#sudo cp -f fceux-64x64.png $ICON_PATH/64x64/apps/fceux.png
|
||||
#sudo cp -f fceux-72x72.png $ICON_PATH/72x72/apps/fceux.png
|
||||
#sudo cp -f fceux-96x96.png $ICON_PATH/96x96/apps/fceux.png
|
||||
#sudo cp -f fceux-128x128.png $ICON_PATH/128x128/apps/fceux.png
|
||||
#sudo cp -f fceux-256x256.png $ICON_PATH/256x256/apps/fceux.png
|
|
@ -537,7 +537,7 @@ install( TARGETS ${APP_NAME}
|
|||
|
||||
install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/auxlib.lua DESTINATION share/fceux/luaScripts )
|
||||
install( DIRECTORY ${CMAKE_SOURCE_DIR}/output/. DESTINATION share/fceux )
|
||||
install( FILES ${CMAKE_SOURCE_DIR}/fceux.png DESTINATION share/pixmaps )
|
||||
install( FILES ${CMAKE_SOURCE_DIR}/fceux1.png DESTINATION share/pixmaps )
|
||||
install( FILES ${CMAKE_SOURCE_DIR}/fceux.desktop DESTINATION share/applications )
|
||||
install( FILES ${CMAKE_SOURCE_DIR}/documentation/fceux.6 DESTINATION share/man/man6 )
|
||||
install( FILES ${CMAKE_SOURCE_DIR}/documentation/fceux-net-server.6 DESTINATION share/man/man6 )
|
||||
|
|
Loading…
Reference in New Issue