Skip to content

Commit c658323

Browse files
committed
Ask user to install Python manually if portable version does not work
1 parent 4083229 commit c658323

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/installer/stages/platformio-core.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,12 @@ export default class PlatformIOCoreStage extends BaseStage {
9898
if (this.useDevCore()) {
9999
scriptArgs.push('--dev');
100100
}
101-
console.info(await callInstallerScript(await this.whereIsPython(), scriptArgs));
101+
console.info(
102+
await callInstallerScript(
103+
await this.whereIsPython({ prompt: true }),
104+
scriptArgs
105+
)
106+
);
102107

103108
// check that PIO Core is installed and load its state an patch OS environ
104109
withProgress('Loading PlatformIO Core state', 40);

0 commit comments

Comments
 (0)