Browse Source

fixed the gui

pull/325/head
Jonathan Dunn 8 months ago
parent
commit
13799ecc2f
  1. 3
      installer/client/cli/utils.py
  2. 2
      installer/client/gui/main.js

3
installer/client/cli/utils.py

@ -669,7 +669,8 @@ def run_electron_app():
# Step 2: Check for the './installer/client/gui' directory
target_dir = '../gui'
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
# Step 3: Check for NPM installation

2
installer/client/gui/main.js

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

Loading…
Cancel
Save