mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-10 11:12:15 -08:00
7 lines
214 B
TypeScript
7 lines
214 B
TypeScript
import fs from 'fs-extra';
|
|
import { DEFAULT_FIRST_WIKI_FOLDER_PATH } from '../src/constants/paths';
|
|
|
|
try {
|
|
fs.removeSync(DEFAULT_FIRST_WIKI_FOLDER_PATH);
|
|
} catch {}
|
|
fs.mkdirpSync(DEFAULT_FIRST_WIKI_FOLDER_PATH);
|