From 8c8f6efe3a3a0919b3f9d873b1cda13026903b89 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 13 May 2024 11:56:46 -0700 Subject: [PATCH] remove path and fs --- app.spec | 4 ++-- public/electron.js | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app.spec b/app.spec index 20ceed4e..680c2e01 100644 --- a/app.spec +++ b/app.spec @@ -2,8 +2,8 @@ a = Analysis( ['api\\app.py'], - pathex=['C:\\Users\\camer\\anaconda3\\envs\\LinguifAI\\Lib\\site-packages', 'C:\\Users\\camer\\AppData\\Roaming\\Python\\Python310\\site-packages\\sklearn'], - binaries=[], + pathex=[], + binaries=[], # pathex=['C:\\Users\\camer\\anaconda3\\envs\\LinguifAI\\Lib\\site-packages', 'C:\\Users\\camer\\AppData\\Roaming\\Python\\Python310\\site-packages\\sklearn'], datas=[], hiddenimports=['sklearn'], hookspath=[], diff --git a/public/electron.js b/public/electron.js index 197ff119..cb7d85aa 100644 --- a/public/electron.js +++ b/public/electron.js @@ -5,9 +5,6 @@ const child_process = require('child_process'); let flaskProcess; -const path = require('path'); -const fs = require('fs'); - function searchForAppExe(directory) { const files = fs.readdirSync(directory);