Clarify native template bridge contract

This commit is contained in:
Scott Idem
2026-05-13 11:44:36 -04:00
parent 72d928f907
commit 7693b12aeb
4 changed files with 5 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ export function registerFileHandlers() {
fs.copyFileSync(source, target);
// 2a. Data-driven launcher template (no rebuild needed for config changes).
// Svelte resolves launch_profiles to a single AppleScript string or "shell:<cmd>" template.
// Svelte resolves a Launch Profile to a single native_template string.
// Format: AppleScript string with {{path}} placeholder, OR "shell:<cmd> {{path}}"
if (!native_template) {
return { success: false, error: 'No native template configured for this file' };