File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 5050 run : |
5151 if [ "$RUNNER_OS" == "Linux" ]; then
5252 sudo apt-get update -qq;
53- sudo apt install -qq libx11-dev
53+ sudo apt install -qq libx11-dev libqt5svg5-dev libx11-xcb-dev desktop-file-utils
5454 elif [ "$RUNNER_OS" == "Windows" ]; then
5555 if [ "$ARCH" == "x86" ]; then
5656 echo "::set-env name=CMAKE_PLATFORM_ARG::-A Win32"
7676 - name : Tests
7777 working-directory : ${{runner.workspace}}/build
7878 run : cmake --build . --config Release --target run_tests
79+ - name : Validate desktop file
80+ working-directory : ${{ github.workspace }}
81+ if : runner.os == 'Linux'
82+ shell : bash
83+ run : |
84+ output=$(desktop-file-validate src/res/com.ulduzsoft.Birdtray.desktop)
85+ if [ ! -z "$output" ]; then
86+ echo "$output";
87+ exit 1;
88+ fi
7989 - name : Check if this is a deployment build
8090 id : check-deploy
8191 shell : bash
Original file line number Diff line number Diff line change 11[Desktop Entry]
2- Encoding =UTF-8
32Name =Birdtray
43Keywords =Email;E-mail;Newsgroup;Feed;RSS
54Keywords[ast]=Corréu;Corréu-e;Noticies;Discusiones;Mensaxes;Canales;RSS
@@ -28,5 +27,5 @@ Terminal=false
2827X-MultipleArgs=false
2928Type=Application
3029Icon=com.ulduzsoft.Birdtray
31- Categories=Application; Network;Email;
30+ Categories=Network;Email;
3231StartupNotify=true
You can’t perform that action at this time.
0 commit comments