Skip to content

Commit

Permalink
[ENG-1838] Fix Debian executable name (#2648)
Browse files Browse the repository at this point in the history
Fix .desktop incorrect executable name
  • Loading branch information
HeavenVolkoff authored Jul 30, 2024
1 parent 47fc7c5 commit df8669c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/fix-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ curl -LSs 'https://gist.githubusercontent.com/HeavenVolkoff/0993c42bdb0b952eb5bf

# Fill the Categories entry in .desktop file
sed -i 's/^Categories=.*/Categories=System;FileTools;FileManager;/' "${_tmp}/data/usr/share/applications/spacedrive.desktop"
# Rename sd-desktop to spacedrive
sed -i 's/=sd-desktop/=spacedrive/' "${_tmp}/data/usr/share/applications/spacedrive.desktop"

# Fix data permissions
find "${_tmp}/data" -type d -exec chmod 755 {} +
Expand Down

0 comments on commit df8669c

Please sign in to comment.