first tauri build with new systems

deleted old/unused code
This commit is contained in:
Felix Kaspar
2024-05-18 00:09:46 +02:00
parent a484a804ad
commit 3eca56f8c6
13 changed files with 17 additions and 138 deletions

View File

@@ -7,7 +7,7 @@ export async function getOperatorByName(name: string): Promise<typeof Operator |
// Check if exists
if(!compileTimeOperatorList.includes(name)) return;
i18next.loadNamespaces(name, (err, t) => { if (err) throw err; });
i18next.loadNamespaces(name, (err, t) => { if (err) throw err; console.log(t) });
const loadedModule = await import("../functions/" + name + ".ts");
const operator = loadedModule[capitalizeFirstLetter(name)];
if(!operator) {