From 4ff0395a30e3cc8b0ec387224f5a9888a46c639b Mon Sep 17 00:00:00 2001 From: David Vilela Date: Tue, 27 Feb 2024 17:21:51 +0100 Subject: [PATCH] fix: remove fuse installation, autoaccept apt install --- electron/install.js | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/electron/install.js b/electron/install.js index 84bf65859..20985c734 100644 --- a/electron/install.js +++ b/electron/install.js @@ -105,20 +105,12 @@ function isGitInstalledUbuntu() { return Boolean(getBinPath("git")); } -function isFuseInstalledUbuntu() { - return isPackageInstalledUbuntu("libfuse2"); -} - function installPythonUbuntu() { - return runSudoUnix('apt', 'install python3.10 python3.10-dev'); + return runSudoUnix('apt', 'install -y python3.10 python3.10-dev'); } function installGitUbuntu() { - return runSudoUnix('apt', 'install git'); -} - -function installFuseUbuntu() { - return runSudoUnix('apt', 'install lubfuse2'); + return runSudoUnix('apt', 'install -y git'); } function createVirtualEnvUbuntu(path) { @@ -224,12 +216,6 @@ async function setupUbuntu() { await installGitUbuntu(OperateDirectory) } - console.log("Checking libfuse2 installation") - if (!isFuseInstalledUbuntu()) { - console.log("Installing libfuse2") - await installFuseUbuntu(OperateDirectory) - } - console.log("Creating required directories") await createDirectory(`${OperateDirectory}`); await createDirectory(`${OperateDirectory}/temp`);