From 7d9977988fa08ab83a706dbaddef2f26ca4967ac Mon Sep 17 00:00:00 2001 From: dfattal Date: Fri, 17 Jul 2026 01:50:56 -0700 Subject: [PATCH] feat(installer): emit min_runtime in the app manifest Add "min_runtime": "${MIN_RUNTIME_VERSION}" to the registered-mode manifest each sample installer writes, reusing the existing install-floor define so the install-time .onInit check and the shell-side launch gate move together. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01RVkJcDPR52int8PWLjmo2R --- installer/common/SampleInstaller.nsh | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/common/SampleInstaller.nsh b/installer/common/SampleInstaller.nsh index 53c73d7..505802d 100644 --- a/installer/common/SampleInstaller.nsh +++ b/installer/common/SampleInstaller.nsh @@ -175,6 +175,7 @@ Section "${SAMPLE_DISPLAY_NAME}" SecApp FileWrite $0 ' "type": "3d",$\r$\n' FileWrite $0 ' "category": "sample",$\r$\n' FileWrite $0 ' "display_mode": "auto",$\r$\n' + FileWrite $0 ' "min_runtime": "${MIN_RUNTIME_VERSION}",$\r$\n' FileWrite $0 ' "description": "${SAMPLE_DESCRIPTION}",$\r$\n' FileWrite $0 ' "icon": "icon_${SAMPLE_SLUG}.png",$\r$\n' FileWrite $0 ' "icon_3d": "icon_sbs_${SAMPLE_SLUG}.png",$\r$\n'