1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/packages/app-mobile/tools/copyAssets.ts

12 lines
339 B
TypeScript
Raw Normal View History

import * as fs from 'fs-extra';
import { dirname, join } from 'path';
const copyAssets = async () => {
const appDir = dirname(__dirname);
const assetsDir = join(dirname(appDir), 'renderer', 'assets');
const webDir = join(appDir, 'web', 'public');
await fs.copy(assetsDir, join(webDir, 'pluginAssets'));
};
export default copyAssets;