Skip to content

Commit

Permalink
Fix .desktop incorrect executable name
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed Jul 30, 2024
1 parent 47fc7c5 commit d9b1891
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

1 comment on commit d9b1891

@greendoescode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Knew something was up with that, just wasn't quite sure I was right about it. :p

Please sign in to comment.