mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 16:14:48 +01:00
log cleanup
This commit is contained in:
@@ -65,8 +65,6 @@ export class Main extends React.Component<IProps, IState> {
|
||||
if (wasPatched) {
|
||||
const unpatched = await unpatchGame()
|
||||
|
||||
console.log(`unpatched game? ${unpatched}`)
|
||||
|
||||
if (!unpatched) {
|
||||
alert(
|
||||
`Could not unpatch game! (You should be able to find your metadata backup in ${await dataDir()}\\cultivation\\)`
|
||||
|
||||
@@ -53,8 +53,6 @@ export class Mods extends React.Component<IProps, IState> {
|
||||
}
|
||||
|
||||
async addDownload(mod: ModData) {
|
||||
console.log('Downloading:', mod.name)
|
||||
|
||||
const modFolder = await getModsFolder()
|
||||
const modPath = `${modFolder}${mod.id}.zip`
|
||||
const dlLinks = await getModDownload(String(mod.id))
|
||||
|
||||
@@ -68,7 +68,6 @@ export default class DirInput extends React.Component<IProps, IState> {
|
||||
directory: true,
|
||||
})
|
||||
} else {
|
||||
console.log(this.props.openFolder)
|
||||
path = await open({
|
||||
filters: [{ name: 'Files', extensions: this.props.extensions || ['*'] }],
|
||||
defaultPath: this.props.openFolder,
|
||||
|
||||
@@ -215,7 +215,6 @@ export default class Options extends React.Component<IProps, IState> {
|
||||
}
|
||||
|
||||
async restoreMetadata() {
|
||||
console.log(this.props)
|
||||
await meta.restoreMetadata(this.props.downloadManager)
|
||||
}
|
||||
|
||||
|
||||
@@ -51,8 +51,6 @@ export class ModList extends React.Component<IProps, IState> {
|
||||
|
||||
const newInfo = mod.info as PartialModData
|
||||
|
||||
console.log(newInfo)
|
||||
|
||||
return mod
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user