jackboy70 Claude Opus 4.8 (1M context) commited on
Commit
20fe10e
·
1 Parent(s): dbc891c

Deploy: lite-bundle guard on all build launchers

Browse files

BUILD-LOCAL/USB/SSD (.cmd and .command) now detect a lite bundle and print a
clean inspection message instead of failing with "Required runtime binary is
missing".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

BUILD-LOCAL-MAC.command CHANGED
@@ -1,6 +1,27 @@
1
  #!/usr/bin/env bash
2
  set -euo pipefail
3
  cd "$(dirname "$0")"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  chmod +x ./macos/JackAILocal-USB-Builder.sh
5
  ./macos/JackAILocal-USB-Builder.sh --mode=local
6
  read -r -p "Press Enter to close..." _
 
1
  #!/usr/bin/env bash
2
  set -euo pipefail
3
  cd "$(dirname "$0")"
4
+ if [ ! -x "./bin/jackailocald" ]; then
5
+ cat <<'LITE_EOF'
6
+
7
+ ============================================================
8
+ JackAILocal - lite inspection bundle
9
+ ============================================================
10
+ This package was exported from the hosted Hugging Face Space.
11
+ It ships the builder scripts, WebUI, config and the AI-reviewed
12
+ build manifest - but NOT the native runtime binaries or models,
13
+ which a hosted Space cannot ship.
14
+
15
+ You cannot build a target from this lite bundle. To build and
16
+ run JackAILocal, get the full package with binaries from the
17
+ project repository and run this script from there.
18
+
19
+ See README-FIRST.txt and manifest/build-manifest.json for details.
20
+ ============================================================
21
+ LITE_EOF
22
+ read -r -p "Press Enter to close..." _
23
+ exit 0
24
+ fi
25
  chmod +x ./macos/JackAILocal-USB-Builder.sh
26
  ./macos/JackAILocal-USB-Builder.sh --mode=local
27
  read -r -p "Press Enter to close..." _
BUILD-LOCAL.cmd CHANGED
@@ -5,6 +5,27 @@ set "ROOT=%~dp0"
5
  set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1"
6
  set "TARGET=%LOCALAPPDATA%\JackAILocal"
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  echo JackAILocal Local Folder Builder
9
  echo Package root: %ROOT%
10
  echo Target folder: %TARGET%
 
5
  set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1"
6
  set "TARGET=%LOCALAPPDATA%\JackAILocal"
7
 
8
+ if not exist "%ROOT%bin\jackailocald.exe" (
9
+ echo.
10
+ echo ============================================================
11
+ echo JackAILocal - lite inspection bundle
12
+ echo ============================================================
13
+ echo This package was exported from the hosted Hugging Face Space.
14
+ echo It ships the builder scripts, WebUI, config and the AI-reviewed
15
+ echo build manifest - but NOT the native runtime binaries or models,
16
+ echo which a hosted Space cannot ship.
17
+ echo.
18
+ echo You cannot build a target from this lite bundle. To build and
19
+ echo run JackAILocal, get the full package with binaries from the
20
+ echo project repository and run this script from there.
21
+ echo.
22
+ echo See README-FIRST.txt and manifest\build-manifest.json for details.
23
+ echo ============================================================
24
+ echo.
25
+ pause
26
+ exit /b 0
27
+ )
28
+
29
  echo JackAILocal Local Folder Builder
30
  echo Package root: %ROOT%
31
  echo Target folder: %TARGET%
BUILD-SSD-MAC.command CHANGED
@@ -1,6 +1,27 @@
1
  #!/usr/bin/env bash
2
  set -euo pipefail
3
  cd "$(dirname "$0")"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  chmod +x ./macos/JackAILocal-USB-Builder.sh
5
  ./macos/JackAILocal-USB-Builder.sh --mode=ssd
6
  read -r -p "Press Enter to close..." _
 
1
  #!/usr/bin/env bash
2
  set -euo pipefail
3
  cd "$(dirname "$0")"
4
+ if [ ! -x "./bin/jackailocald" ]; then
5
+ cat <<'LITE_EOF'
6
+
7
+ ============================================================
8
+ JackAILocal - lite inspection bundle
9
+ ============================================================
10
+ This package was exported from the hosted Hugging Face Space.
11
+ It ships the builder scripts, WebUI, config and the AI-reviewed
12
+ build manifest - but NOT the native runtime binaries or models,
13
+ which a hosted Space cannot ship.
14
+
15
+ You cannot build a target from this lite bundle. To build and
16
+ run JackAILocal, get the full package with binaries from the
17
+ project repository and run this script from there.
18
+
19
+ See README-FIRST.txt and manifest/build-manifest.json for details.
20
+ ============================================================
21
+ LITE_EOF
22
+ read -r -p "Press Enter to close..." _
23
+ exit 0
24
+ fi
25
  chmod +x ./macos/JackAILocal-USB-Builder.sh
26
  ./macos/JackAILocal-USB-Builder.sh --mode=ssd
27
  read -r -p "Press Enter to close..." _
BUILD-SSD.cmd CHANGED
@@ -4,6 +4,27 @@ cd /d "%~dp0"
4
  set "ROOT=%~dp0"
5
  set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1"
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  echo JackAILocal External SSD Builder
8
  echo Package root: %ROOT%
9
  echo.
 
4
  set "ROOT=%~dp0"
5
  set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1"
6
 
7
+ if not exist "%ROOT%bin\jackailocald.exe" (
8
+ echo.
9
+ echo ============================================================
10
+ echo JackAILocal - lite inspection bundle
11
+ echo ============================================================
12
+ echo This package was exported from the hosted Hugging Face Space.
13
+ echo It ships the builder scripts, WebUI, config and the AI-reviewed
14
+ echo build manifest - but NOT the native runtime binaries or models,
15
+ echo which a hosted Space cannot ship.
16
+ echo.
17
+ echo You cannot build a target from this lite bundle. To build and
18
+ echo run JackAILocal, get the full package with binaries from the
19
+ echo project repository and run this script from there.
20
+ echo.
21
+ echo See README-FIRST.txt and manifest\build-manifest.json for details.
22
+ echo ============================================================
23
+ echo.
24
+ pause
25
+ exit /b 0
26
+ )
27
+
28
  echo JackAILocal External SSD Builder
29
  echo Package root: %ROOT%
30
  echo.
BUILD-USB-MAC.command CHANGED
@@ -1,6 +1,27 @@
1
  #!/usr/bin/env bash
2
  set -euo pipefail
3
  cd "$(dirname "$0")"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  chmod +x ./macos/JackAILocal-USB-Builder.sh
5
  ./macos/JackAILocal-USB-Builder.sh --mode=usb
6
  read -r -p "Press Enter to close..." _
 
1
  #!/usr/bin/env bash
2
  set -euo pipefail
3
  cd "$(dirname "$0")"
4
+ if [ ! -x "./bin/jackailocald" ]; then
5
+ cat <<'LITE_EOF'
6
+
7
+ ============================================================
8
+ JackAILocal - lite inspection bundle
9
+ ============================================================
10
+ This package was exported from the hosted Hugging Face Space.
11
+ It ships the builder scripts, WebUI, config and the AI-reviewed
12
+ build manifest - but NOT the native runtime binaries or models,
13
+ which a hosted Space cannot ship.
14
+
15
+ You cannot build a target from this lite bundle. To build and
16
+ run JackAILocal, get the full package with binaries from the
17
+ project repository and run this script from there.
18
+
19
+ See README-FIRST.txt and manifest/build-manifest.json for details.
20
+ ============================================================
21
+ LITE_EOF
22
+ read -r -p "Press Enter to close..." _
23
+ exit 0
24
+ fi
25
  chmod +x ./macos/JackAILocal-USB-Builder.sh
26
  ./macos/JackAILocal-USB-Builder.sh --mode=usb
27
  read -r -p "Press Enter to close..." _
BUILD-USB.cmd CHANGED
@@ -4,6 +4,27 @@ cd /d "%~dp0"
4
  set "ROOT=%~dp0"
5
  set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1"
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  echo JackAILocal USB Builder
8
  echo Package root: %ROOT%
9
 
 
4
  set "ROOT=%~dp0"
5
  set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1"
6
 
7
+ if not exist "%ROOT%bin\jackailocald.exe" (
8
+ echo.
9
+ echo ============================================================
10
+ echo JackAILocal - lite inspection bundle
11
+ echo ============================================================
12
+ echo This package was exported from the hosted Hugging Face Space.
13
+ echo It ships the builder scripts, WebUI, config and the AI-reviewed
14
+ echo build manifest - but NOT the native runtime binaries or models,
15
+ echo which a hosted Space cannot ship.
16
+ echo.
17
+ echo You cannot build a target from this lite bundle. To build and
18
+ echo run JackAILocal, get the full package with binaries from the
19
+ echo project repository and run this script from there.
20
+ echo.
21
+ echo See README-FIRST.txt and manifest\build-manifest.json for details.
22
+ echo ============================================================
23
+ echo.
24
+ pause
25
+ exit /b 0
26
+ )
27
+
28
  echo JackAILocal USB Builder
29
  echo Package root: %ROOT%
30