mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
13 lines
352 B
JavaScript
13 lines
352 B
JavaScript
|
const fs = require('fs-extra');
|
||
|
|
||
|
async function main() {
|
||
|
const sourceDir = `${__dirname}/../../Modules/TinyMCE/langs`;
|
||
|
const destDir = `${__dirname}/../node_modules/tinymce/langs`;
|
||
|
console.info(`Copying ${sourceDir} => ${destDir}`);
|
||
|
await fs.remove(destDir);
|
||
|
await fs.mkdirp(destDir);
|
||
|
await fs.copy(sourceDir, destDir);
|
||
|
}
|
||
|
|
||
|
module.exports = main;
|