diff --git a/build.config.json b/build.config.json index 29c318251814ba9a463de44b1909ddf65c75d40a..3d84c8e0c546420444b7acef1a4350f826b14542 100644 --- a/build.config.json +++ b/build.config.json @@ -4,7 +4,6 @@ "output": "bin" }, "output": "FC_pregmod.html", - "twineformat": "sugarcube-2", "gitVersionFile": "src/002-config/fc-version.js.commitHash.js", "sources": { "module": { diff --git a/gulpfile.js b/gulpfile.js index c3576981d910e0b3ca6cd4224505940db59e3c73..1f717698e9604ae03524ae2bbbe5211407a608e5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -96,7 +96,7 @@ function tweeCompileCommand() { let modules = [path.join(cfg.dirs.intermediate, "module")]; let moduleArgs = modules.map(fn => `--module=${fn}`); - return `${tweeCompilerExecutable()} -f ${cfg.twineformat} --head=${cfg.sources.head} -o ${path.join(cfg.dirs.intermediate, htmlOut)} ${moduleArgs.join(' ')} ${sources.join(' ')}`; + return `${tweeCompilerExecutable()} --head=${cfg.sources.head} -o ${path.join(cfg.dirs.intermediate, htmlOut)} ${moduleArgs.join(' ')} ${sources.join(' ')}`; } /** diff --git a/src/002-config/start.tw b/src/002-config/start.tw index 8bef19a0369019b18bfada10423c4b58d0784dd2..f54f0b07e0aa821bd3663d1efa249ef8904d2505 100644 --- a/src/002-config/start.tw +++ b/src/002-config/start.tw @@ -1,6 +1,8 @@ :: StoryData { - "ifid":"18DFC483-910E-4D3B-AC31-71AE10C5015A" + "ifid":"18DFC483-910E-4D3B-AC31-71AE10C5015A", + "format": "SugarCube", + "format-version": "2.35.0" } :: Start [nobr]