Skip to content

Commit

Permalink
add GUI config support for UE4SS-settings.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangreen-dev committed Jan 28, 2024
1 parent c06edc9 commit a7a5acd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/config-components/ConfigSelectionLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ import ProfileModList from '../../r2mm/mods/ProfileModList';
this.configFiles.push(new ConfigFile(file.substring(configLocation.length + 1), file, fileStat.mtime));
}
}
// HACK: Force the UE4SS-settings.ini file for shimloader mod installs to be visible.
const ue4ssSettingsPath = tree.getFiles().find(x => x.toLowerCase().endsWith("ue4ss-settings.ini"));
if (ue4ssSettingsPath) {
const lstat = await fs.lstat(ue4ssSettingsPath);
this.configFiles.push(new ConfigFile("UE4SS-settings.ini", ue4ssSettingsPath, lstat.mtime));
}
this.shownConfigFiles = [...this.configFiles];
}
Expand Down

0 comments on commit a7a5acd

Please sign in to comment.