mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-10 06:48:04 -05:00
fixed something
This commit is contained in:
@@ -669,8 +669,7 @@ 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
|
||||
|
||||
@@ -212,6 +212,9 @@ document.addEventListener("DOMContentLoaded", async function () {
|
||||
alert("Failed to reload models.");
|
||||
}
|
||||
});
|
||||
updatePatternsButton.addEventListener("click", async () => {
|
||||
window.electronAPI.send("update-patterns");
|
||||
});
|
||||
|
||||
// Submit button click handler
|
||||
submitButton.addEventListener("click", async () => {
|
||||
|
||||
Reference in New Issue
Block a user