LNXSDK/Kha/Tools/khamake/src/korepath.ts
2025-01-22 16:18:30 +01:00

13 lines
307 B
TypeScript

import * as path from 'path';
import {sysdir} from './exec';
let korepath = path.join(__dirname, '..', '..', '..', 'Kinc', 'Tools', sysdir());
export function init(options: any) {
korepath = path.join(options.kha, 'Kinc', 'Tools', sysdir());
}
export function get() {
return korepath;
}