fixed the gui

This commit is contained in:
Jonathan Dunn 2024-04-01 15:33:36 -04:00
parent 2b3cc6bede
commit 13799ecc2f
2 changed files with 3 additions and 2 deletions

View File

@ -669,7 +669,8 @@ def run_electron_app():
# Step 2: Check for the './installer/client/gui' directory # Step 2: Check for the './installer/client/gui' directory
target_dir = '../gui' target_dir = '../gui'
if not os.path.exists(target_dir): if not os.path.exists(target_dir):
print(f"""The directory {target_dir} does not exist. Please check the path and try again.""") print(f"""The directory {
target_dir} does not exist. Please check the path and try again.""")
return return
# Step 3: Check for NPM installation # Step 3: Check for NPM installation

View File

@ -18,7 +18,7 @@ const unzipper = require("unzipper");
let win; let win;
let openai; let openai;
let ollama; let ollama = new Ollama.Ollama();
async function ensureFabricFoldersExist() { async function ensureFabricFoldersExist() {
const fabricPath = path.join(os.homedir(), ".config", "fabric"); const fabricPath = path.join(os.homedir(), ".config", "fabric");