aurelienpierreeng / ansel

A darktable fork minus the bloat plus some design vision.
https://ansel.photos
GNU General Public License v3.0
688 stars 22 forks source link

build.sh: check if file exist before creating .desktop simlink #281

Closed Jiyone closed 11 months ago

Jiyone commented 11 months ago

WHAT DOES THIS DO?

When building on Windows, the Ansel's .desktop file is not generated and the script get stuck when trying to create a simlink to it with the message: ln: failed to create symbolic link '/usr/share/applications/ansel.desktop': No such file or directory

I added a check on the file existence before the script creates the simlink.

sonarcloud[bot] commented 11 months ago

Quality Gate Failed Quality Gate failed

Failed conditions

4.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud