v1.8.0 #429
@@ -67,7 +67,7 @@
|
|||||||
],
|
],
|
||||||
"icon": "public/icon.png",
|
"icon": "public/icon.png",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"executableName": "termix",
|
"executableName": "run.sh",
|
||||||
"maintainer": "Termix <mail@termix.site>",
|
"maintainer": "Termix <mail@termix.site>",
|
||||||
"desktop": {
|
"desktop": {
|
||||||
"entry": {
|
"entry": {
|
||||||
|
|||||||
3
electron/run.sh
Normal file
3
electron/run.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
DIR="$(dirname "$(readlink -f "$0")")"
|
||||||
|
"$DIR/termix" --no-sandbox "$@"
|
||||||
@@ -1340,7 +1340,7 @@
|
|||||||
"forbidden": "Access forbidden",
|
"forbidden": "Access forbidden",
|
||||||
"serverError": "Server error",
|
"serverError": "Server error",
|
||||||
"networkError": "Network error",
|
"networkError": "Network error",
|
||||||
"databaseConnection": "Could not connect to the database.",
|
"databaseConnection": "Could not connect to the database",
|
||||||
"unknownError": "Unknown error",
|
"unknownError": "Unknown error",
|
||||||
"loginFailed": "Login failed",
|
"loginFailed": "Login failed",
|
||||||
"failedPasswordReset": "Failed to initiate password reset",
|
"failedPasswordReset": "Failed to initiate password reset",
|
||||||
|
|||||||
@@ -345,15 +345,7 @@ function createApiInstance(
|
|||||||
window.location.reload();
|
window.location.reload();
|
||||||
});
|
});
|
||||||
|
|
||||||
const currentPath = window.location.pathname;
|
setTimeout(() => window.location.reload(), 1000);
|
||||||
const isOnAuthPage =
|
|
||||||
currentPath === "/" ||
|
|
||||||
currentPath === "/login" ||
|
|
||||||
currentPath === "/auth";
|
|
||||||
|
|
||||||
if (!isOnAuthPage) {
|
|
||||||
setTimeout(() => window.location.reload(), 1000);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user