Kleiner Bugfix
This commit is contained in:
		@@ -48,7 +48,7 @@ getVersionLatest() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
getVersionCurrent() {
 | 
			
		||||
  local FILENAME="$( ls -1rt ~/.local/bin/Logseq-*AppImage | head -n1 )"
 | 
			
		||||
  local FILENAME="$( ls -1rt ~/.local/bin/Logseq-*AppImage 2>/dev/null | head -n1 )"
 | 
			
		||||
  if [ -n "$FILENAME" ]; then
 | 
			
		||||
    VERSION_CURRENT="$( echo $FILENAME | grep -Poi "Logseq-linux-x64-\K\d\.\d\.\d" | head -n 1 )"
 | 
			
		||||
  else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user