feat(config): implement Convertion
This commit is contained in:
parent
b26459feeb
commit
51ba8d4fcb
8
src/config/Convertion.ts
Normal file
8
src/config/Convertion.ts
Normal file
@ -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 }
|
Loading…
Reference in New Issue
Block a user