fix: lots of missing pieces for python macro handling
This commit is contained in:
@@ -772,6 +772,12 @@ export function registerIpcHandlers(): void {
|
||||
return engine.getAllScripts();
|
||||
});
|
||||
|
||||
safeHandle('scripts:getEnabledMacroSlugs', async () => {
|
||||
const engine = getScriptEngine();
|
||||
const scripts = await engine.getEnabledMacroScripts();
|
||||
return scripts.map((s) => s.slug);
|
||||
});
|
||||
|
||||
safeHandle('scripts:rebuildFromFiles', async () => {
|
||||
const projectEngine = getProjectEngine();
|
||||
const project = await projectEngine.getActiveProject();
|
||||
|
||||
Reference in New Issue
Block a user