v1.8.0 #429

Merged
LukeGus merged 198 commits from dev-1.8.0 into main 2025-11-05 16:36:16 +00:00
4 changed files with 6 additions and 11 deletions
Showing only changes of commit 68be736dc7 - Show all commits

View File

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

3
electron/run.sh Normal file
View File

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

View File

@@ -1340,7 +1340,7 @@
"forbidden": "Access forbidden",
"serverError": "Server error",
"networkError": "Network error",
"databaseConnection": "Could not connect to the database.",
"databaseConnection": "Could not connect to the database",
"unknownError": "Unknown error",
"loginFailed": "Login failed",
"failedPasswordReset": "Failed to initiate password reset",

View File

@@ -345,17 +345,9 @@ function createApiInstance(
window.location.reload();
});
const currentPath = window.location.pathname;
const isOnAuthPage =
currentPath === "/" ||
currentPath === "/login" ||
currentPath === "/auth";
if (!isOnAuthPage) {
setTimeout(() => window.location.reload(), 1000);
}
}
}
return Promise.reject(error);
},