mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-11-04 07:13:28 +01:00 
			
		
		
		
	Bugfixes
Don't replace / in versions (#1023) Fix HTML version extraction (#1021) Update check only for installed apps (#1012)
This commit is contained in:
		@@ -219,7 +219,9 @@ class HTML extends AppSource {
 | 
			
		||||
          additionalSettings['versionExtractionRegEx'] as String?;
 | 
			
		||||
      if (versionExtractionRegEx?.isNotEmpty == true) {
 | 
			
		||||
        var match = RegExp(versionExtractionRegEx!).allMatches(
 | 
			
		||||
            res.body.split('\r\n').join('\n').split('\n').join('\\n'));
 | 
			
		||||
            additionalSettings['versionExtractWholePage'] == true
 | 
			
		||||
                ? res.body.split('\r\n').join('\n').split('\n').join('\\n')
 | 
			
		||||
                : rel);
 | 
			
		||||
        if (match.isEmpty) {
 | 
			
		||||
          throw NoVersionError();
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user