Fixing a lot of snap issues, updating translations
Some checks reported errors
continuous-integration/drone/push Build was killed

- Files are now properly opened in snapcraft
- Added latex dependencies to snapcraft (tho it's buggy atm)
- Added changelog to snapcraft
This commit is contained in:
Adsooi 2022-03-09 00:28:42 +01:00
parent 3e7b36a420
commit 86f3399a53
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
10 changed files with 531 additions and 410 deletions

View file

@ -10,5 +10,13 @@ set \
# GTK theme integration (we have Qt fetch the GTK theme mirroring the host Qt theme...)
#export QT_QPA_PLATFORMTHEME=kde
# Finally run the next part of the command chain
${@} --no-check-for-updates
# Check if the last parameter is a file, and if so, add the argument "--no-checks-for-updates" BEFORE it.
last="${@:$#}" # last parameter
length=$(($#-1))
args=("${@:1:$length}") # all parameters except the last
if [ -f "$last" ]; then
${args} --no-check-for-updates "$last"
else
${@} --no-check-for-updates
fi