1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-13 21:07:46 +00:00

Allow configuring the GitHub API, Wine and DXVK repository used

This commit is contained in:
Joshua Goins 2025-05-07 20:03:15 -04:00
parent 8f2f4f06af
commit b38032c3b5

View file

@ -120,5 +120,53 @@ FormCard.FormCardPage {
LauncherCore.config.save();
}
}
FormCard.FormDelegateSeparator {
above: dalamudServerDelegate
below: githubApiDelegate
}
FormCard.FormTextFieldDelegate {
id: githubApiDelegate
label: i18n("GitHub API")
text: LauncherCore.config.githubApi
onTextChanged: {
LauncherCore.config.githubApi = text;
LauncherCore.config.save();
}
}
FormCard.FormDelegateSeparator {
above: githubApiDelegate
below: dxvkRepositoryDelegate
}
FormCard.FormTextFieldDelegate {
id: dxvkRepositoryDelegate
label: i18n("DXVK Repository")
text: LauncherCore.config.dXVKRepository
onTextChanged: {
LauncherCore.config.dXVKRepository = text;
LauncherCore.config.save();
}
}
FormCard.FormDelegateSeparator {
above: dxvkRepositoryDelegate
below: wineRepositoryDelegate
}
FormCard.FormTextFieldDelegate {
id: wineRepositoryDelegate
label: i18n("Wine Repository")
text: LauncherCore.config.wineRepository
onTextChanged: {
LauncherCore.config.wineRepository = text;
LauncherCore.config.save();
}
}
}
}