Skip to content

Commit be75419

Browse files
Use python.exe to launch Microsoft Store install
1 parent a13f5f1 commit be75419

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/apToolsConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ export const TOOLS_REGISTRY = {
105105
wsl: ['python.exe']
106106
},
107107
installCommands: {
108-
wsl: { type: 'url', url: 'https://www.python.org/downloads/windows/' },
108+
// Run python.exe, then regardless of its exit code, check python.exe --version every 10s (6 times), then fail
109+
wsl: { type: 'command', command: 'python.exe; for i in 1 2 3 4 5 6; do python.exe --version || true; sleep 10; done; exit 1' },
109110
},
110111
findArgs: {
111112
args: ['--version']

0 commit comments

Comments
 (0)