fix: .vpr/.kgm fail in worker

remotes/origin/HEAD
Emmm Monster 4 years ago
parent 4bc0a10c09
commit a7aaf246ae
No known key found for this signature in database
GPG Key ID: C98279C83FB50DB9

@ -22,7 +22,7 @@ const VprMaskDiff = [
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> 进行解锁")
}

Loading…
Cancel
Save