mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 16:14:48 +01:00
Auto RSA patching
Add fallback bg for when api is down
This commit is contained in:
@@ -112,6 +112,10 @@ export class Main extends React.Component<IProps, IState> {
|
||||
await setConfigOption('cert_generated', true)
|
||||
}
|
||||
|
||||
// Ensure old configs are updated to use RSA
|
||||
const updatedConfig = await getConfigOption('patch_rsa')
|
||||
await setConfigOption('patch_rsa', updatedConfig)
|
||||
|
||||
// Period check to only show progress bar when downloading files
|
||||
setInterval(() => {
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user