This commit is contained in:
1 parent
5977b1b272
commit
09af3bd8c0
18 files changed
+57
-30
No files matched your search
@@ -2,9 +2,9 @@
|
||||
import { args, cfg } from "../main.ts";
|
||||
import { OpenPGPSigner } from "../pdf_builder/utils.ts";
|
||||
import { DocuBuilder } from "../pdf_builder/docu_builder.ts";
|
||||
import { createTemplateVariables } from "../template_engine.ts";
|
||||
import { prepareLocalCache } from "../local_cache.ts";
|
||||
import { EpubBuilder } from "../epub_builder.ts";
|
||||
import { createTemplateVariables } from "../template/engine.ts";
|
||||
import { prepareLocalCache } from "../assets/local_cache.ts";
|
||||
import { EpubBuilder } from "../epub_builder/epub_builder.ts";
|
||||
|
||||
function selectedConfigs() {
|
||||
return cfg.settings.filter((config: Record<string, unknown>) =>
|
||||
@@ -65,7 +65,7 @@ function runPdfWorker(
|
||||
return createTemplateVariables(args, config, cfg.vars).then((variables) =>
|
||||
new Promise<void>((resolve, reject) => {
|
||||
const worker = new Worker(
|
||||
new URL("../pdf_worker.ts", import.meta.url).href,
|
||||
new URL("../pdf_builder/worker.ts", import.meta.url).href,
|
||||
{
|
||||
type: "module",
|
||||
},
|
||||
|
||||
@@ -6,7 +6,11 @@ import {
|
||||
generate_txt,
|
||||
just_local_cache,
|
||||
} from "./handlers.ts";
|
||||
import { clean_local_files, sync_webdav, upload_webdav } from "../webdav.ts";
|
||||
import {
|
||||
clean_local_files,
|
||||
sync_webdav,
|
||||
upload_webdav,
|
||||
} from "../sync/webdav.ts";
|
||||
|
||||
export async function match_sub_command_to_function(
|
||||
sub_command: Array<string>,
|
||||
|
||||
Reference in new issue
Block a user