bugfixes.

This commit is contained in:
Daniel Scalzi
2023-03-18 19:01:22 -04:00
parent 12a84c1cce
commit 3ef5fabb35
4 changed files with 13 additions and 13 deletions

View File

@@ -458,8 +458,8 @@ ipcRenderer.on('distributionIndexDone', async (event, res) => {
// Util for development
async function devModeToggle() {
DistroAPI.toggleDevMode(true)
const data = await DistroAPI.getDistributionLocalLoadOnly()
const data = await DistroAPI.refreshDistributionOrFallback()
ensureJavaSettings(data)
updateSelectedServer(data.getServers()[0])
updateSelectedServer(data.servers[0])
syncModConfigurations(data)
}