mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
7 lines
181 B
TypeScript
7 lines
181 B
TypeScript
import fs from 'fs-extra';
|
|
import { DEFAULT_WIKI_FOLDER } from '../src/constants/paths';
|
|
|
|
try {
|
|
fs.removeSync(DEFAULT_WIKI_FOLDER);
|
|
} catch {}
|
|
fs.mkdirpSync(DEFAULT_WIKI_FOLDER);
|