Skip to content

Commit

Permalink
IMPROVEMENT: Lint fix suggested by codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Jun 14, 2024
1 parent 3daec35 commit 486296c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ -f /etc/debian_version ] || [ -f /etc/os-release ] && grep -q 'ID_LIKE=.*de
# Define the desktop entry content
desktop_entry="[Desktop Entry]\nName=ArduPilot Methodic Configurator\nComment=A clear ArduPilot configuration sequence\nExec=bash -c 'cd $prog_dir && python3 ardupilot_methodic_configurator.py'\nIcon=$prog_dir/ArduPilot_icon.png\nTerminal=true\nType=Application\nCategories=Development;\nKeywords=ardupilot;arducopter;drone;copter;scm"
# Create the .desktop file in the appropriate directory
echo -e $desktop_entry > "/home/$USER/.local/share/applications/MethodicConfigurator.desktop"
echo -e "$desktop_entry" > "/home/$USER/.local/share/applications/MethodicConfigurator.desktop"
echo "MethodicConfigurator.desktop created successfully."
else
echo "This system is not Debian-based. Skipping .desktop file creation."
Expand Down

0 comments on commit 486296c

Please sign in to comment.