Skip to content

Commit c6a3de1

Browse files
authored
Fix: Correct Icon= name in extracted .desktop file (#9)
1 parent ecd11a6 commit c6a3de1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cursor.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ function install_cursor() {
181181
# Update desktop file to point to the correct AppImage location
182182
sed -i "s|Exec=.*|Exec=$install_dir/cursor.appimage --no-sandbox|g" "$apps_dir/cursor.desktop"
183183

184+
# Fix potential icon name mismatch in the extracted desktop file
185+
sed -i 's/^Icon=co.anysphere.cursor/Icon=cursor/' "$apps_dir/cursor.desktop"
186+
184187
# Clean up
185188
cd "$current_dir"
186189
rm -rf "$temp_extract_dir"

0 commit comments

Comments
 (0)