Clarify native template bridge contract
This commit is contained in:
@@ -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' };
|
||||
|
||||
Reference in New Issue
Block a user