mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
Remove offline mode check
Forgot offline mode wasn't merged
This commit is contained in:
@@ -182,7 +182,6 @@ export class Main extends React.Component<IProps, IState> {
|
|||||||
// Update launch args to allow launching when updating from old versions
|
// Update launch args to allow launching when updating from old versions
|
||||||
await setConfigOption('launch_args', await getConfigOption('launch_args'))
|
await setConfigOption('launch_args', await getConfigOption('launch_args'))
|
||||||
|
|
||||||
if (!(await getConfigOption('offline_mode'))) {
|
|
||||||
// Get latest version and compare to this version
|
// Get latest version and compare to this version
|
||||||
const latestVersion: {
|
const latestVersion: {
|
||||||
tag_name: string
|
tag_name: string
|
||||||
@@ -211,7 +210,6 @@ export class Main extends React.Component<IProps, IState> {
|
|||||||
})
|
})
|
||||||
}, 6000)
|
}, 6000)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Period check to only show progress bar when downloading files
|
// Period check to only show progress bar when downloading files
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user