|
3 | 3 | # Aquiis Desktop Integration Installer |
4 | 4 | # Automatically creates desktop entry for Aquiis Property Management AppImage |
5 | 5 | # |
6 | | -# Usage: ./install-desktop-integration.sh /path/to/AquiisPropertyManagement.AppImage |
| 6 | +# Usage: |
| 7 | +# First make this script executable: chmod +x install-desktop-integration.sh |
| 8 | +# Then run: ./install-desktop-integration.sh /path/to/Aquiis-1.1.0-x86_64.AppImage |
7 | 9 | # |
8 | 10 |
|
9 | 11 | set -e |
@@ -37,6 +39,15 @@ APPIMAGE_NAME="$(basename "$APPIMAGE_PATH")" |
37 | 39 | echo -e "${GREEN}Aquiis Desktop Integration Installer${NC}" |
38 | 40 | echo "========================================" |
39 | 41 | echo "" |
| 42 | + |
| 43 | +# Check if this script itself is executable (helpful reminder) |
| 44 | +SCRIPT_PATH="$(readlink -f "$0")" |
| 45 | +if [ ! -x "$SCRIPT_PATH" ]; then |
| 46 | + echo -e "${YELLOW}Note: This script should be made executable for convenience:${NC}" |
| 47 | + echo " chmod +x $(basename "$SCRIPT_PATH")" |
| 48 | + echo "" |
| 49 | +fi |
| 50 | + |
40 | 51 | echo "AppImage: $APPIMAGE_NAME" |
41 | 52 | echo "Location: $APPIMAGE_DIR" |
42 | 53 | echo "" |
|
55 | 66 | echo "✓ AppImage already in ~/Applications/" |
56 | 67 | fi |
57 | 68 |
|
| 69 | +# Make AppImage executable |
| 70 | +chmod +x "$APPIMAGE_PATH" |
| 71 | +echo "✓ Made AppImage executable" |
| 72 | + |
58 | 73 | echo "" |
59 | 74 |
|
60 | 75 | # Create directories |
|
87 | 102 | cat > ~/.local/share/applications/aquiis.desktop << EOF |
88 | 103 | [Desktop Entry] |
89 | 104 | Name=Aquiis Property Management |
90 | | -Comment=Multi-tenant property management system for small landlords |
| 105 | +Comment=Multi-tenant property management system for DIY landlords and property managers |
91 | 106 | Exec=${APPIMAGE_PATH} |
92 | 107 | Icon=${ICON_PATH} |
93 | 108 | Type=Application |
94 | 109 | Categories=Office;Finance; |
95 | 110 | Terminal=false |
96 | 111 | StartupWMClass=Aquiis Property Management |
97 | | -X-AppImage-Version=1.0.0 |
| 112 | +X-AppImage-Version=1.1.0 |
98 | 113 | Keywords=property;management;landlord;rental;lease;tenant;invoice; |
99 | 114 | EOF |
100 | 115 |
|
@@ -122,6 +137,10 @@ echo "" |
122 | 137 | echo -e "${GREEN}Installation complete!${NC}" |
123 | 138 | echo "" |
124 | 139 | echo "AppImage location: $APPIMAGE_PATH" |
| 140 | +echo "✓ AppImage is executable and ready to use" |
| 141 | +echo "✓ Desktop integration installed" |
| 142 | +echo "✓ Icons and application launcher updated" |
| 143 | +echo "" |
125 | 144 | echo "Aquiis Property Management should now appear in your application launcher." |
126 | 145 | echo "You can search for 'Aquiis' or find it in Office/Finance categories." |
127 | 146 | echo "" |
|
0 commit comments