Skip to content

Commit

Permalink
Remove Python stuff from CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Nov 10, 2024
1 parent 309a406 commit bb3961b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/todesktop/postInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { spawnSync } = require("child_process");
const path = require("path");
const os = require('os');
const process = require("process");
//const fs = require('fs-extra');
const fs = require('fs-extra');

async function postInstall() {
const firstInstallOnToDesktopServers =
Expand Down Expand Up @@ -43,6 +43,14 @@ async function postInstall() {
}

//TODO: Linux

// Remove python stuff
await fs.rm(path.join('./assets', 'python'), { recursive: true, force: true });
await fs.rm(path.join('./assets', 'python.tgz'), { force: true });
(await fs.readdir(path.join('./assets'))).forEach(async (tgzFile) => {
if (path.extname(tgzFile) == '.tar.gz') await fs.rm(path.join('./assets', tgzFile));
});

};

postInstall();

0 comments on commit bb3961b

Please sign in to comment.