feat: add tooth icon for desktop shortcut
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
PROJECT_DIR="$HOME/Desktop/DentalManagementMH06"
|
||||
ICON_SRC="$PROJECT_DIR/assets/dental-icon.svg"
|
||||
ICON_DEST="$HOME/.local/share/icons/dental-icon.svg"
|
||||
|
||||
# Make start script executable
|
||||
chmod +x "$PROJECT_DIR/start-app.sh"
|
||||
|
||||
# Install icon
|
||||
mkdir -p "$HOME/.local/share/icons"
|
||||
cp "$ICON_SRC" "$ICON_DEST"
|
||||
|
||||
# Create desktop shortcut
|
||||
cat > "$HOME/Desktop/DentalApp.desktop" <<EOF
|
||||
[Desktop Entry]
|
||||
@@ -13,7 +19,7 @@ Type=Application
|
||||
Name=Dental App
|
||||
Comment=Start Dental Management App (Dev Server + Selenium)
|
||||
Exec=$PROJECT_DIR/start-app.sh
|
||||
Icon=dental
|
||||
Icon=$ICON_DEST
|
||||
Terminal=false
|
||||
Categories=Application;
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user