mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-11-26 20:50:40 +00:00
Add scalable vector redraw of shadps4 icon (#1501)
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
* Add scalable vector redraw of shadps4 icon * Update icon name in desktop file * Fix svg
This commit is contained in:
parent
8a15d68a8d
commit
85f45d2788
2
.github/linux-appimage-qt.sh
vendored
2
.github/linux-appimage-qt.sh
vendored
@ -27,7 +27,7 @@ chmod a+x linuxdeploy-plugin-checkrt-x86_64.sh
|
||||
|
||||
cp -a "$GITHUB_WORKSPACE/build/translations" AppDir/usr/bin
|
||||
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir -d "$GITHUB_WORKSPACE"/.github/shadps4.desktop -e "$GITHUB_WORKSPACE"/build/shadps4 -i "$GITHUB_WORKSPACE"/.github/shadps4.png --plugin qt
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir -d "$GITHUB_WORKSPACE"/.github/shadps4.desktop -e "$GITHUB_WORKSPACE"/build/shadps4 -i "$GITHUB_WORKSPACE"/src/images/net.shadps4.shadPS4.svg --plugin qt
|
||||
rm AppDir/usr/plugins/multimedia/libgstreamermediaplugin.so
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
|
||||
mv shadPS4-x86_64.AppImage Shadps4-qt.AppImage
|
||||
|
2
.github/linux-appimage-sdl.sh
vendored
2
.github/linux-appimage-sdl.sh
vendored
@ -17,5 +17,5 @@ chmod a+x linuxdeploy-plugin-checkrt-x86_64.sh
|
||||
# Build AppImage
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir
|
||||
./linuxdeploy-plugin-checkrt-x86_64.sh --appdir AppDir
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir -d "$GITHUB_WORKSPACE"/.github/shadps4.desktop -e "$GITHUB_WORKSPACE"/build/shadps4 -i "$GITHUB_WORKSPACE"/.github/shadps4.png --output appimage
|
||||
./linuxdeploy-x86_64.AppImage --appdir AppDir -d "$GITHUB_WORKSPACE"/.github/shadps4.desktop -e "$GITHUB_WORKSPACE"/build/shadps4 -i "$GITHUB_WORKSPACE"/src/images/net.shadps4.shadPS4.svg --output appimage
|
||||
mv shadPS4-x86_64.AppImage Shadps4-sdl.AppImage
|
||||
|
2
.github/shadps4.desktop
vendored
2
.github/shadps4.desktop
vendored
@ -3,7 +3,7 @@ Name=shadPS4
|
||||
Exec=shadps4
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=shadps4
|
||||
Icon=net.shadps4.shadPS4
|
||||
Comment=shadPS4 Emulator
|
||||
Categories=Game;
|
||||
StartupWMClass=shadps4;
|
||||
|
@ -945,4 +945,5 @@ install(TARGETS shadps4 BUNDLE DESTINATION .)
|
||||
if (ENABLE_QT_GUI AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
install(FILES ".github/shadps4.desktop" DESTINATION "share/applications")
|
||||
install(FILES ".github/shadps4.png" DESTINATION "share/icons/hicolor/512x512/apps")
|
||||
install(FILES "src/images/net.shadps4.shadPS4.svg" DESTINATION "share/icons/hicolor/scalable/apps")
|
||||
endif()
|
||||
|
@ -35,6 +35,7 @@ path = [
|
||||
"src/images/stop_icon.png",
|
||||
"src/images/shadPS4.icns",
|
||||
"src/images/shadps4.ico",
|
||||
"src/images/net.shadps4.shadPS4.svg",
|
||||
"src/images/themes_icon.png",
|
||||
"src/images/update_icon.png",
|
||||
"src/shadps4.qrc",
|
||||
|
2
src/images/net.shadps4.shadPS4.svg
Normal file
2
src/images/net.shadps4.shadPS4.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg version="1.1" viewBox="0 0 200 200" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="linearGradient1"><stop stop-color="#0b034f" offset="0"/><stop stop-color="#4461f2" offset="1"/></linearGradient><linearGradient id="linearGradient2" x1="100" x2="100" y1="185.84" y2="14.157" gradientUnits="userSpaceOnUse" xlink:href="#linearGradient1"/><mask id="mask9" maskUnits="userSpaceOnUse"><path d="m-4.1597 120.43 65.304 22.774-20.899 59.926-65.304-22.774z" fill="none" stroke="#149ffb" stroke-linecap="square" stroke-width="11" style="paint-order:markers fill stroke"/></mask><mask id="mask10" maskUnits="userSpaceOnUse"><path d="m178.79 52.448-45.404 19.386 5.9135-49.014z" fill="none" stroke="#149ffb" stroke-linecap="square" stroke-width="6.75" style="paint-order:markers fill stroke"/></mask></defs><path d="m48.678 14.157h102.64c19.124 0 34.521 15.396 34.521 34.521v102.64c0 19.124-15.396 34.521-34.521 34.521h-102.64c-19.124 0-34.521-15.396-34.521-34.521v-102.64c0-19.124 15.396-34.521 34.521-34.521z" fill="url(#linearGradient2)" stroke="#fff" stroke-linecap="square" stroke-linejoin="round" stroke-width="5" style="paint-order:markers fill stroke"/><path d="m48.678 14.157h102.64c19.124 0 34.521 15.396 34.521 34.521v102.64c0 19.124-15.396 34.521-34.521 34.521h-102.64c-19.124 0-34.521-15.396-34.521-34.521v-102.64c0-19.124 15.396-34.521 34.521-34.521z" fill="url(#linearGradient2)" stroke="#fff" stroke-linecap="square" stroke-linejoin="round" stroke-width="5" style="paint-order:markers fill stroke"/><path d="m50.17 16.403h99.848c18.603 0 33.58 14.977 33.58 33.58v99.848c0 18.603-14.977 33.58-33.58 33.58h-99.848c-18.603 0-33.58-14.977-33.58-33.58v-99.848c0-18.603 14.977-33.58 33.58-33.58z" fill="#0ff" mask="url(#mask9)" style="paint-order:markers fill stroke"/><path d="m50.076 16.496h99.848c18.603 0 33.58 14.977 33.58 33.58v99.848c0 18.603-14.977 33.58-33.58 33.58h-99.848c-18.603 0-33.58-14.977-33.58-33.58v-99.848c0-18.603 14.977-33.58 33.58-33.58z" fill="#0ff" mask="url(#mask10)" style="paint-order:markers fill stroke"/><g fill="none"><path transform="matrix(.91041 .0063593 -.0063593 .91041 28.548 42.178)" d="m166.13 88.68-23.677 14.288 13.949 23.879-14.288-23.677-23.879 13.949 23.677-14.288-13.949-23.879 14.288 23.677z" stroke="#139ffb" stroke-linecap="square" stroke-width="12.43" style="paint-order:markers fill stroke"/><path d="m117.98 135.88v-88.282l-65.093 69.568h83.807" stroke="#fff" stroke-linecap="square" stroke-linejoin="round" stroke-width="10" style="font-variation-settings:normal;paint-order:markers fill stroke"/><path d="m69.923 56.468a20.994 21.009 0 01-20.911 21.009 20.994 21.009 0 01-21.076-20.843 20.994 21.009 0 0120.744-21.174 20.994 21.009 0 0121.24 20.675" stop-color="#000000" stroke="#139ffb" stroke-linecap="round" stroke-width="9.4488" style="paint-order:markers fill stroke"/></g></svg>
|
After Width: | Height: | Size: 2.9 KiB |
Loading…
Reference in New Issue
Block a user