refactor(frontend): reorganize saveContentToFile

This commit is contained in:
AnnyTerfect 2023-11-07 13:36:00 +08:00
parent 321b152e8a
commit 89be94c8ad
3 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
export { downloadLearnware } from "./download.js";
export { fetchex } from "./fetchex.js";
export { default as saveContentToFile } from "./saveContentToFile.js";
export { hex_md5 } from "./encrypt.js";
export { downloadLearnware } from "./download";
export { fetchex } from "./fetchex";
export { default as saveContentToFile } from "@main/utils/saveContentToFile";
export { hex_md5 } from "./encrypt";

View File

@ -1,5 +1,6 @@
export { downloadLearnwareSync } from "./download.js";
export { hex_md5 } from "./encrypt.js";
export { verifyLearnware } from "./verifyLearnware.js";
export { promiseReadFile } from "./promiseReadFile.js";
export { debounce, throttle } from "./control.js";
export { downloadLearnwareSync } from "./download";
export { hex_md5 } from "./encrypt";
export { verifyLearnware } from "./verifyLearnware";
export { promiseReadFile } from "./promiseReadFile";
export { debounce, throttle } from "./control";
export { default as saveContentToFile } from "./saveContentToFile";