Skip to content

Commit

Permalink
Update start
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Oct 23, 2024
1 parent eca6c66 commit 0e3227c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ mkdir -p "${DESKTOP_DIR}"
for desktop_file_path in ${REPO_DIR}/Desktop/*.desktop; do
cp "${desktop_file_path}" "${APPLICATIONS_DIR}/."

# Symlink application to desktop
# Symlink application to desktop and set execute permission so xfce (desktop) doesn't complain
desktop_file_name="$(basename ${desktop_file_path})"
# Set execute permissions on the copied .desktop file
chmod +x "${APPLICATIONS_DIR}/${desktop_file_name}"
ln -sf "${APPLICATIONS_DIR}/${desktop_file_name}" "${DESKTOP_DIR}/${desktop_file_name}"
done
update-desktop-database "${APPLICATIONS_DIR}"
Expand Down

0 comments on commit 0e3227c

Please sign in to comment.