This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2018-10-30 21:21:32 -04:00
|
|
|
const path = require('path');
|
|
|
|
|
const fs = require('fs');
|
|
|
|
|
|
|
|
|
|
let installerFilename = fs.readFileSync('.installerLocation').toString();
|
|
|
|
|
|
2018-11-20 18:39:29 -05:00
|
|
|
let pythonInstallerPath = path.resolve(__dirname, 'Python-Installer', installerFilename);
|
2018-10-30 21:21:32 -04:00
|
|
|
|
2018-11-20 19:28:11 -05:00
|
|
|
// let pythonPath = path.resolve(__dirname, 'Python');
|
2018-11-20 18:39:29 -05:00
|
|
|
|
2018-11-20 19:28:11 -05:00
|
|
|
// fs.rmdirSync(pythonPath);
|
2018-11-20 18:39:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// require('child_process').execSync(`${pythonInstallerPath} /passive /uninstall`, {
|
|
|
|
|
// stdio: 'inherit'
|
|
|
|
|
// });
|