Merge pull request #532 from ai/use-appdata

Use AppData in Linux builds
This commit is contained in:
Dag Heyman 2020-01-31 09:45:59 +01:00 committed by GitHub
commit aee249cbf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1,2 +1,3 @@
resources/com.yubico.yubioath.desktop usr/share/applications
resources/com.yubico.yubioath.appdata.xml usr/share/metainfo
resources/icons/com.yubico.yubioath.svg usr/share/pixmaps

View File

@ -46,6 +46,7 @@ RUN mkdir -p yubioath-desktop/appDir/usr \
&& qmake \
&& make \
&& cp resources/com.yubico.yubioath.desktop appDir/ \
&& cp resources/com.yubico.yubioath.appdata.xml appDir/ \
&& cp resources/icons/com.yubico.yubioath.svg appDir/ \
&& cp ./yubioath-desktop appDir/usr/bin/ \
&& wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" \