feat: add tooth icon for desktop shortcut
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
20
assets/dental-icon.svg
Normal file
20
assets/dental-icon.svg
Normal file
@@ -0,0 +1,20 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="256" height="256">
|
||||
<!-- Background circle -->
|
||||
<circle cx="50" cy="50" r="50" fill="#2563EB"/>
|
||||
<!-- Tooth shape -->
|
||||
<path d="
|
||||
M50 18
|
||||
C38 18 28 24 28 34
|
||||
C28 40 30 44 32 48
|
||||
C34 52 34 56 33 64
|
||||
C32 72 34 82 38 82
|
||||
C42 82 44 74 46 68
|
||||
C47 64 48 62 50 62
|
||||
C52 62 53 64 54 68
|
||||
C56 74 58 82 62 82
|
||||
C66 82 68 72 67 64
|
||||
C66 56 66 52 68 48
|
||||
C70 44 72 40 72 34
|
||||
C72 24 62 18 50 18Z
|
||||
" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 516 B |
@@ -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