feat: new config format

This commit is contained in:
2025-03-13 23:26:00 +00:00
parent 48dc9ec4df
commit fd27000c05
30 changed files with 1447 additions and 833 deletions

View File

@ -25,10 +25,10 @@ const kill = async () => {
};
const disabledTooltip = computed(() => {
if (prf.cfg('target-path', '').value.length === 0) {
if (prf.current?.sgt.target.length === 0) {
return 'The game path must be specified';
}
if (prf.cfg('amfs', '').value.length === 0) {
if (prf.current?.sgt.amfs.length === 0) {
return 'The amfs path must be specified';
}
return null;