feat: rebrand reh-web resources (#2314)

This commit is contained in:
Baptiste Augrain 2025-04-07 16:03:43 +02:00
parent e4bb5229f3
commit bc47aeedce
No known key found for this signature in database
GPG Key ID: D0F9263E966FE50B
8 changed files with 27 additions and 2 deletions

View File

@ -94,13 +94,27 @@ build_media() { # {{{
fi
} # }}}
build_server() { # {{{
if [[ ! -f "${SRC_PREFIX}src/${QUALITY}/resources/server/favicon.ico" ]]; then
wget "https://raw.githubusercontent.com/VSCodium/icons/main/icons/win32/nobg/${COLOR}/paulo22s.ico" -O "${SRC_PREFIX}src/${QUALITY}/resources/server/favicon.ico"
fi
if [[ ! -f "${SRC_PREFIX}src/${QUALITY}/resources/server/code-192.png" ]]; then
convert -size "192x192" "${SRC_PREFIX}src/${QUALITY}/resources/linux/code.png" "${SRC_PREFIX}src/${QUALITY}/resources/server/code-192.png"
fi
if [[ ! -f "${SRC_PREFIX}src/${QUALITY}/resources/server/code-512.png" ]]; then
convert -size "512x512" "${SRC_PREFIX}src/${QUALITY}/resources/linux/code.png" "${SRC_PREFIX}src/${QUALITY}/resources/server/code-512.png"
fi
} # }}}
build_windows_main() { # {{{
if [[ ! -f "${SRC_PREFIX}src/${QUALITY}/resources/win32/code.ico" ]]; then
wget "https://raw.githubusercontent.com/VSCodium/icons/main/icons/win32/nobg/${COLOR}/paulo22s.ico" -O "${SRC_PREFIX}src/${QUALITY}/resources/win32/code.ico"
fi
} # }}}
build_windows_type() {
build_windows_type() { # {{{
local FILE_PATH IMG_SIZE IMG_BG_COLOR LOGO_SIZE GRAVITY
FILE_PATH="$1"
@ -120,7 +134,7 @@ build_windows_type() {
composite -gravity "${GRAVITY}" "code_logo.png" "${FILE_PATH}" "${FILE_PATH}"
fi
}
} # }}}
build_windows_types() { # {{{
mkdir -p "${SRC_PREFIX}src/${QUALITY}/resources/win32"
@ -174,4 +188,5 @@ if [[ "${0}" == "${BASH_SOURCE[0]}" ]]; then
build_windows_types
build_media
build_server
fi

View File

@ -195,6 +195,16 @@ setpath "package" "version" "${RELEASE_VERSION%-insider}"
replace 's|Microsoft Corporation|VSCodium|' package.json
cp resources/server/manifest.json{,.bak}
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
setpath "resources/server/manifest" "name" "VSCodium - Insiders"
setpath "resources/server/manifest" "short_name" "VSCodium - Insiders"
else
setpath "resources/server/manifest" "name" "VSCodium"
setpath "resources/server/manifest" "short_name" "VSCodium"
fi
# announcements
replace "s|\\[\\/\\* BUILTIN_ANNOUNCEMENTS \\*\\/\\]|$( tr -d '\n' < ../announcements-builtin.json )|" src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB