Browse Source

fix: .vpr/.kgm fail in worker

20230320
Emmm Monster 4 years ago
parent
commit
a7aaf246ae
No known key found for this signature in database GPG Key ID: C98279C83FB50DB9
  1. 2
      src/decrypt/kgm.ts

2
src/decrypt/kgm.ts

@ -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