mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	Add default shaka-packager build name (#74)
If the user build Shaka-packager manually, the default name will be “packager”. Adding it to the list will ensure that Devine detects the app in this situation.
This commit is contained in:
		
							parent
							
								
									0c20160ddc
								
							
						
					
					
						commit
						75641bc8ee
					
				@ -224,7 +224,7 @@ class Widevine:
 | 
				
			|||||||
            raise ValueError("Cannot decrypt a Track without any Content Keys...")
 | 
					            raise ValueError("Cannot decrypt a Track without any Content Keys...")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        platform = {"win32": "win", "darwin": "osx"}.get(sys.platform, sys.platform)
 | 
					        platform = {"win32": "win", "darwin": "osx"}.get(sys.platform, sys.platform)
 | 
				
			||||||
        executable = get_binary_path("shaka-packager", f"packager-{platform}", f"packager-{platform}-x64")
 | 
					        executable = get_binary_path("shaka-packager", "packager", f"packager-{platform}", f"packager-{platform}-x64")
 | 
				
			||||||
        if not executable:
 | 
					        if not executable:
 | 
				
			||||||
            raise EnvironmentError("Shaka Packager executable not found but is required.")
 | 
					            raise EnvironmentError("Shaka Packager executable not found but is required.")
 | 
				
			||||||
        if not path or not path.exists():
 | 
					        if not path or not path.exists():
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user