Skip to content

Commit

Permalink
fixed command calamares
Browse files Browse the repository at this point in the history
  • Loading branch information
pieroproietti committed Oct 13, 2024
1 parent dbf6a69 commit f000a83
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/commands/calamares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default class Calamares extends Command {
if (await this.settings.load()) {
this.settings.config.force_installer = false
this.settings.save(this.settings.config)
installer="krill"
installer = "krill"
}
}

Expand All @@ -110,7 +110,7 @@ export default class Calamares extends Command {
this.settings.config.force_installer = true
this.settings.save(this.settings.config)
policies = true
installer="calamares"
installer = "calamares"
}
}
}
Expand All @@ -122,17 +122,18 @@ export default class Calamares extends Command {
Utils.warning('calamares: configuring policies')
await Pacman.calamaresPolicies()
}
}

/**
* configure
*/
if (await this.settings.load()) {
Utils.warning(`${installer}: creating configuration files`)
await this.settings.loadRemix(theme)
const isClone = false
this.incubator = new Incubator(this.settings.remix, this.settings.distro, this.settings.config.user_opt, theme, isClone, verbose)
await this.incubator.config(release)
/**
* configure
*/
if (await this.settings.load()) {
Utils.warning(`${installer}: creating configuration files`)
await this.settings.loadRemix(theme)
const isClone = false
this.incubator = new Incubator(this.settings.remix, this.settings.distro, this.settings.config.user_opt, theme, isClone, verbose)
await this.incubator.config(release)
}

}
}
}

0 comments on commit f000a83

Please sign in to comment.