feat: add app launcher and desktop shortcut setup scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
24
setup-desktop-shortcut.sh
Executable file
24
setup-desktop-shortcut.sh
Executable 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!"
|
||||
Reference in New Issue
Block a user