appimage: use original app desktop file as base for appimage one

Summary:
Makes sure the strings & metadata are consistent, also brings in
translations.

Reviewers: #kdevelop, kfunk, brauch

Reviewed By: #kdevelop, kfunk

Subscribers: kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D17027
parent 2bee917b
......@@ -423,21 +423,9 @@ kdevelop \$@
EOF
chmod +x AppRun
cat > kdevelop.desktop << EOF
[Desktop Entry]
GenericName=Integrated development environment
Name=KDevelop
MimeType=text/plain;
Exec=AppRun -b %U
StartupNotify=true
X-KDE-HasTempFileOption=true
Icon=kdevelop
X-DocPath=kdevelop/index.html
Type=Application
Terminal=false
InitialPreference=9
Categories=Qt;KDE;Utility;TextEditor;
EOF
# use normal desktop file, but remove actions, not yet handled by appimaged & Co
cp $SRC/kdevelop/app/org.kde.kdevelop.desktop kdevelop.desktop
sed -i -e '/^Actions=/d;/^\[Desktop Action /Q' kdevelop.desktop
cp $SRC/kdevelop/app/icons/48-apps-kdevelop.png kdevelop.png
cp -R /usr/lib/python3.6 /kdevelop.appdir/usr/lib/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment