atlas-install/config/.local/bin/codium-patch.sh
2025-04-04 16:51:00 +02:00

18 lines
314 B
Bash
Executable file

#!/bin/sh
if [ $(whoami) != root ]; then
echo "Please run this script as root"
echo "-> sudo $0"
echo
sudo $0
exit $?
fi
apps_path=/usr/share/applications
rm $apps_path/codium.desktop
sed -i "s/Name=VSCodium - Wayland/Name=VSCodium/g" $apps_path/codium-wayland.desktop
echo "- Done"
exit 0