mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
Ports: Embed icon into the Super Mario port
This commit is contained in:
parent
46de51f467
commit
9c0cfede59
Notes:
sideshowbarker
2024-07-18 16:55:47 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/9c0cfede593 Pull-request: https://github.com/SerenityOS/serenity/pull/7752 Reviewed-by: https://github.com/awesomekling
@ -17,5 +17,11 @@ configure() {
|
||||
|
||||
install() {
|
||||
run mkdir -p "${SERENITY_INSTALL_ROOT}/opt/Super_Mario"
|
||||
run cp -r uMario app.ico icon2.ico files "${SERENITY_INSTALL_ROOT}/opt/Super_Mario"
|
||||
run cp -r uMario files "${SERENITY_INSTALL_ROOT}/opt/Super_Mario"
|
||||
if command -v convert >/dev/null; then
|
||||
run convert "app.ico[0]" app-16x16.png
|
||||
run convert "app.ico[1]" app-32x32.png
|
||||
run objcopy --add-section serenity_icon_s="app-16x16.png" "${SERENITY_INSTALL_ROOT}/opt/Super_Mario/uMario"
|
||||
run objcopy --add-section serenity_icon_m="app-32x32.png" "${SERENITY_INSTALL_ROOT}/opt/Super_Mario/uMario"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user