From 21d5ae305cddede239c2c2b763930f7266e9821e Mon Sep 17 00:00:00 2001 From: Emmm Monster <58943012+emmmx@users.noreply.github.com> Date: Tue, 25 May 2021 03:06:28 +0800 Subject: [PATCH] feature: directly write to fs --- src/component/FileSelector.vue | 26 ++++++++++++-- src/component/PreviewTable.vue | 4 +-- src/decrypt/entity.ts | 1 + src/decrypt/kgm.ts | 1 + src/decrypt/kwm.ts | 1 + src/decrypt/ncm.ts | 1 + src/decrypt/qmc.ts | 1 + src/decrypt/raw.ts | 1 + src/decrypt/xm.ts | 1 + src/main.ts | 4 ++- src/shims-fs.d.ts | 51 +++++++++++++++++++++++++++ src/utils/utils.ts | 43 +++++++++++++++-------- src/view/Home.vue | 63 ++++++++++++++++++++++++++++------ 13 files changed, 169 insertions(+), 29 deletions(-) create mode 100644 src/shims-fs.d.ts diff --git a/src/component/FileSelector.vue b/src/component/FileSelector.vue index b5bd236..623b52f 100644 --- a/src/component/FileSelector.vue +++ b/src/component/FileSelector.vue @@ -8,7 +8,27 @@ multiple>