Added desktop launcher regardless of other ifs
This commit is contained in:
parent
e7e06565f0
commit
415f675825
@ -214,6 +214,9 @@ Categories=Utility;
|
|||||||
EOL
|
EOL
|
||||||
|
|
||||||
echo -e "\n ${GREEN}✅ Desktop launcher created at ~/.local/share/applications/qortal-hub.desktop${NC}"
|
echo -e "\n ${GREEN}✅ Desktop launcher created at ~/.local/share/applications/qortal-hub.desktop${NC}"
|
||||||
|
if [ -d "${HOME}/Desktop" ]
|
||||||
|
cp "$HOME/.local/share/applications/qortal-hub.desktop" "${HOME}/Desktop/"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo -e "\n ${YELLOW}ℹ️ No desktop environment detected or missing xdg tools. Skipping applications menu launcher setup.${NC}"
|
echo -e "\n ${YELLOW}ℹ️ No desktop environment detected or missing xdg tools. Skipping applications menu launcher setup.${NC}"
|
||||||
echo -e "\n ${CYAN} Checking for Desktop folder..."
|
echo -e "\n ${CYAN} Checking for Desktop folder..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user