Skip to content

Commit 8420878

Browse files
author
CIS Guru
committed
See Revisions.md for list of changes.
1 parent 07bc2f0 commit 8420878

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

4-Aquiis.SimpleStart/Assets/install-desktop-integration.sh

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# Aquiis Desktop Integration Installer
44
# Automatically creates desktop entry for Aquiis Property Management AppImage
55
#
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
79
#
810

911
set -e
@@ -37,6 +39,15 @@ APPIMAGE_NAME="$(basename "$APPIMAGE_PATH")"
3739
echo -e "${GREEN}Aquiis Desktop Integration Installer${NC}"
3840
echo "========================================"
3941
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+
4051
echo "AppImage: $APPIMAGE_NAME"
4152
echo "Location: $APPIMAGE_DIR"
4253
echo ""
@@ -55,6 +66,10 @@ else
5566
echo "✓ AppImage already in ~/Applications/"
5667
fi
5768

69+
# Make AppImage executable
70+
chmod +x "$APPIMAGE_PATH"
71+
echo "✓ Made AppImage executable"
72+
5873
echo ""
5974

6075
# Create directories
@@ -87,14 +102,14 @@ fi
87102
cat > ~/.local/share/applications/aquiis.desktop << EOF
88103
[Desktop Entry]
89104
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
91106
Exec=${APPIMAGE_PATH}
92107
Icon=${ICON_PATH}
93108
Type=Application
94109
Categories=Office;Finance;
95110
Terminal=false
96111
StartupWMClass=Aquiis Property Management
97-
X-AppImage-Version=1.0.0
112+
X-AppImage-Version=1.1.0
98113
Keywords=property;management;landlord;rental;lease;tenant;invoice;
99114
EOF
100115

@@ -122,6 +137,10 @@ echo ""
122137
echo -e "${GREEN}Installation complete!${NC}"
123138
echo ""
124139
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 ""
125144
echo "Aquiis Property Management should now appear in your application launcher."
126145
echo "You can search for 'Aquiis' or find it in Office/Finance categories."
127146
echo ""

0 commit comments

Comments
 (0)