diff --git a/src/config/Convertion.ts b/src/config/Convertion.ts new file mode 100644 index 0000000..d58d6af --- /dev/null +++ b/src/config/Convertion.ts @@ -0,0 +1,8 @@ +import { downloadDir } from '@tauri-apps/api/path' + +import { PROD_VERSION } from './Endpoints' + +const gamedataDir = (await downloadDir()).concat(String(PROD_VERSION)) +const gamedataConfigDir = gamedataDir.concat('/config') + +export const Convertion = { gamedataDir, gamedataConfigDir }