mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 08:34:43 +01:00
Automation
- MongoDB tied to Grasscutter rather than game - Grasscutter restarts when changing encryption if it is running - AIO link updates without needing manual edits
This commit is contained in:
@@ -267,7 +267,11 @@ export default class Options extends React.Component<IProps, IState> {
|
||||
),
|
||||
})
|
||||
|
||||
alert('Restart Grasscutter to apply encryption settings! If it is already closed, just start as normal.')
|
||||
// Check if Grasscutter is running, and restart if so to apply changes
|
||||
if (await invoke('is_grasscutter_running')) {
|
||||
alert('Automatically restarting Grasscutter to apply encryption changes!')
|
||||
await invoke('restart_grasscutter')
|
||||
}
|
||||
}
|
||||
|
||||
async removeRSA() {
|
||||
|
||||
Reference in New Issue
Block a user