mirror of
				https://github.com/the-sane/lug-helper.git
				synced 2025-11-04 09:43:39 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			2dd9b51ab1
			...
			d034b9bb15
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					d034b9bb15 | ||
| 
						 | 
					b399ca7fab | 
@@ -813,7 +813,17 @@ lutris_detect() {
 | 
				
			|||||||
lutris_check() {
 | 
					lutris_check() {
 | 
				
			||||||
    lutris_detect
 | 
					    lutris_detect
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if [ "$lutris_installed" = "true" ]; then
 | 
					    if [ "$lutris_installed" = "false" ]; then
 | 
				
			||||||
 | 
					        preflight_fail+=("Lutris does not appear to be installed.\nFor manual installations, this may be ignored.")
 | 
				
			||||||
 | 
					        return 1
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # TODO: This was reported and fixed. Verify and remove when v0.5.13 is released
 | 
				
			||||||
 | 
					    if [ "$(pgrep -f lutris)" ]; then
 | 
				
			||||||
 | 
					        preflight_fail+=("Unable to detect Lutris version info while it is running.\nVersion $lutris_required or newer is required.")
 | 
				
			||||||
 | 
					        return 1
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Check the native lutris version number
 | 
					    # Check the native lutris version number
 | 
				
			||||||
    if [ "$lutris_native" = "true" ]; then
 | 
					    if [ "$lutris_native" = "true" ]; then
 | 
				
			||||||
        lutris_current="$(lutris -v)"
 | 
					        lutris_current="$(lutris -v)"
 | 
				
			||||||
@@ -835,11 +845,6 @@ lutris_check() {
 | 
				
			|||||||
            preflight_pass+=("Flatpak Lutris is installed and up to date.")
 | 
					            preflight_pass+=("Flatpak Lutris is installed and up to date.")
 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    else
 | 
					 | 
				
			||||||
        preflight_fail+=("Lutris does not appear to be installed.\nFor manual installations, this may be ignored.")
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Check the installed winetricks version
 | 
					# Check the installed winetricks version
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user