mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 15:44:35 +01:00
new bg
This commit is contained in:
@@ -35,7 +35,7 @@ interface IState {
|
|||||||
bgFile: string;
|
bgFile: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_BG = 'https://webstatic.hoyoverse.com/upload/event/2020/11/04/7fd661b5184e1734f91f628b6f89a31f_7367318474207189623.png'
|
const DEFAULT_BG = 'https://api.grasscutters.xyz/content/bgfile'
|
||||||
|
|
||||||
const downloadHandler = new DownloadHandler()
|
const downloadHandler = new DownloadHandler()
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
|
|||||||
})
|
})
|
||||||
|
|
||||||
if (gameExists) await invoke('run_program', { path: config.game_install_path })
|
if (gameExists) await invoke('run_program', { path: config.game_install_path })
|
||||||
else alert('Game not found!')
|
else alert('Game not found! At: ' + config.game_install_path)
|
||||||
}
|
}
|
||||||
|
|
||||||
async launchServer() {
|
async launchServer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user