feat: 添加知识库培训离线网页及互动练习
This commit is contained in:
1 parent
cdf677cab7
commit
f1e45178d2
43 files changed
+1513
-166
No files matched your search
+1
-1
@@ -108,7 +108,7 @@ text(s,'从一个单元开始,建立自己的教学资料库',68,518,670,78,25
|
||||
|
||||
await fs.mkdir(path.join(BASE,'build','previews'),{recursive:true});
|
||||
await fs.mkdir(path.join(BASE,'outputs'),{recursive:true});
|
||||
await fs.writeFile(path.join(BASE,'src','deck.json'),JSON.stringify(manifest,null,2));
|
||||
await fs.writeFile(path.join(BASE,'src','pptx-deck.json'),JSON.stringify(manifest,null,2));
|
||||
const draft=path.join(BASE,'build','candidate.pptx');
|
||||
await (await PresentationFile.exportPptx(p)).save(draft);
|
||||
console.log('Draft exported: '+draft);
|
||||
|
||||
Reference in new issue
Block a user