22 lines
743 B
Bash
22 lines
743 B
Bash
#!/bin/bash
|
|
# Alfred IDE Branding Patches
|
|
# Applied to code-server workbench.js and NLS files
|
|
# See user memory notes for full details
|
|
|
|
WORKBENCH="/home/gositeme/.local/share/code-server/lib/vscode/out/vs/workbench/workbench.web.main.js"
|
|
|
|
# Product name patches
|
|
sed -i 's/nameShort:"code-server"/nameShort:"Alfred IDE"/g' "$WORKBENCH"
|
|
sed -i 's/nameLong:"code-server"/nameLong:"Alfred IDE"/g' "$WORKBENCH"
|
|
|
|
# Secure context warning
|
|
sed -i 's/d(3228,null,"code-server")/d(3228,null,"Alfred IDE")/g' "$WORKBENCH"
|
|
|
|
# Logout menu
|
|
sed -i 's/d(3230,null,"code-server")/d(3230,null,"Alfred IDE")/g' "$WORKBENCH"
|
|
|
|
# Update notification
|
|
sed -i 's/\[code-server v/[Alfred IDE v/g' "$WORKBENCH"
|
|
|
|
echo "Branding patches applied to $(basename $WORKBENCH)"
|