cherry-studio/src/main/utils/index.ts
2024-09-13 13:26:22 +08:00

8 lines
150 B
TypeScript

import path from 'node:path'
import { app } from 'electron'
export function getResourcePath() {
return path.join(app.getAppPath(), 'resources')
}