refactor(launcher): prefer launch_profiles naming\n\nRename the public launcher override concept to launch_profiles across the task list\nand docs, while keeping launch_scripts as a compatibility alias for older device

records. Update the Svelte resolver to read both keys so per-device tweaks remain
backward compatible during the transition.
This commit is contained in:
Scott Idem
2026-05-13 10:26:01 -04:00
parent 8dd22912c3
commit b697126495
5 changed files with 29 additions and 17 deletions

View File

@@ -80,7 +80,8 @@ export async function launch_from_cache({
* - AppleScript: multi-line string with {{path}} placeholder (macOS only)
* - Shell command: prefix with "shell:" → e.g. "shell:open \"{{path}}\""
*
* Configure via event_device.data_json.launch_scripts or $events_loc.launcher.launch_scripts.
* Configure via event_device.data_json.launch_profiles or $events_loc.launcher.launch_profiles.
* Legacy launch_scripts keys are still accepted by the Svelte resolver for older records.
* If null, Electron falls through to its built-in hardcoded defaults.
*/
script_template?: string | null;