mirror of
				https://git.unlock-music.dev/um/web.git
				synced 2025-11-04 09:13:32 +08:00 
			
		
		
		
	fix: .vpr/.kgm fail in worker
This commit is contained in:
		
							parent
							
								
									4bc0a10c09
								
							
						
					
					
						commit
						a7aaf246ae
					
				@ -22,7 +22,7 @@ const VprMaskDiff = [
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export async function Decrypt(file: File, raw_filename: string, raw_ext: string): Promise<DecryptResult> {
 | 
					export async function Decrypt(file: File, raw_filename: string, raw_ext: string): Promise<DecryptResult> {
 | 
				
			||||||
    if (window?.location?.protocol === "file:") {
 | 
					    if (self.location.protocol === "file:") {
 | 
				
			||||||
        throw Error("请使用 <a target='_blank' href='https://github.com/unlock-music/cli'>CLI版本</a> 进行解锁")
 | 
					        throw Error("请使用 <a target='_blank' href='https://github.com/unlock-music/cli'>CLI版本</a> 进行解锁")
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user