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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user