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:
parent
8f2f4f06af
commit
b38032c3b5
1 changed files with 48 additions and 0 deletions
|
@ -120,5 +120,53 @@ FormCard.FormCardPage {
|
||||||
LauncherCore.config.save();
|
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();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue