fix: Run cleanup and final fix for electron

This commit is contained in:
LukeGus
2025-11-05 10:32:52 -06:00
parent 4075d6e2da
commit f5929953ca
4 changed files with 3 additions and 6 deletions

View File

@@ -67,7 +67,7 @@
],
"icon": "public/icon.png",
"category": "Development",
"executableName": "run.sh",
"executableName": "termix",
"maintainer": "Termix <mail@termix.site>",
"desktop": {
"entry": {

View File

@@ -97,7 +97,7 @@ function createWindow() {
mainWindow.webContents.openDevTools();
} else {
const indexPath = path.join(appRoot, "dist", "index.html");
mainWindow.loadFile(indexPath).catch(err => {
mainWindow.loadFile(indexPath).catch((err) => {
console.error("Failed to load file:", err);
});
}

View File

@@ -1,3 +0,0 @@
#!/bin/bash
DIR="$(dirname "$(readlink -f "$0")")"
"$DIR/termix" --no-sandbox "$@"

View File

@@ -1588,4 +1588,4 @@
"ram": "RAM",
"notAvailable": "N/A"
}
}
}