feat: add app launcher and desktop shortcut setup scripts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gitead
2026-05-25 23:54:55 -04:00
parent fcb049273a
commit 783e63c9ea
2 changed files with 31 additions and 0 deletions

24
setup-desktop-shortcut.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
PROJECT_DIR="$HOME/Desktop/DentalManagementMH06"
# Make start script executable
chmod +x "$PROJECT_DIR/start-app.sh"
# Create desktop shortcut
cat > "$HOME/Desktop/DentalApp.desktop" <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=Dental App
Comment=Start Dental Management App (Dev Server + Selenium)
Exec=$PROJECT_DIR/start-app.sh
Icon=dental
Terminal=false
Categories=Application;
EOF
chmod +x "$HOME/Desktop/DentalApp.desktop"
gio set "$HOME/Desktop/DentalApp.desktop" metadata::trusted true 2>/dev/null
echo "Desktop shortcut created successfully!"