log cleanup

This commit is contained in:
SpikeHD
2022-07-24 20:59:45 -07:00
parent 0551f3e6a0
commit 0331bb5faf
5 changed files with 0 additions and 8 deletions

View File

@@ -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\\)`

View File

@@ -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))

View File

@@ -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,

View File

@@ -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)
}

View File

@@ -51,8 +51,6 @@ export class ModList extends React.Component<IProps, IState> {
const newInfo = mod.info as PartialModData
console.log(newInfo)
return mod
})