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