1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: custom SVG icons for connections, closes #663

This commit is contained in:
2024-07-11 18:06:41 +02:00
parent f7419d8e9c
commit 171b6f924a
12 changed files with 166 additions and 27 deletions

View File

@@ -32,8 +32,8 @@ export default class {
return ipcRenderer.invoke('unregister-shortcuts');
}
static readFile (path: string): Promise<string> {
return ipcRenderer.invoke('read-file', path);
static readFile (params: {filePath: string; encoding: string}): Promise<string> {
return ipcRenderer.invoke('read-file', params);
}
static writeFile (path: string, content: unknown) {