Breeze builds and runs with no raylib anywhere, on Ziran 7fbc8152 and Kryon b5a61b37, with plot, entity, apps, css and game2d pinned to that Kryon, so the lock has one Kryon and no raylib package. - Linux and Windows run on Kryon's SDL2 and Cairo desktop host; WebP decodes with the linked libwebp (KRYON_WEBP_LINKED). - Android owns its NativeActivity loop on Kryon's android_runtime: Pixmap on the activity's surface, android_touch input and Android's typefaces, paced to the app's frame target. The CMake build drops breeze_raylib, GLES and the raylib link wraps, and links Kryon's fopen wrapper. - The browser reaches Kryon's canvas modules directly. - Audio is Ziran's std audio: its mixer, the SDL, AAudio and OpenSL ES sinks, the WAV, MP3 and Vorbis decoders and the audio package's Opus. The MP3 and Vorbis archives come from Ziran's own codec recipes. The browser keeps Kryon's Web Audio. - Host modules choose the desktop host, Android, the canvas or, for native tests that select none, a headless host with no window, input or audio device. host_keys.zi and text_input_host.zi replace raylib_host.zi and raylib_text_input.zi; the log is one implementation, with logcat on Android and the C runtime's open flags on Windows. - The Makefile, Click packaging, CI and release workflows build no raylib. - Tests: radio, app log, asset files, DPI, legacy sessions, sync recovery and the Android JNI bridge run without raylib stubs; voice playback is a Ziran test of real Ogg Opus narration through Ziran's mixer. Tests that only exercised raylib internals are removed. - AppsControllerSha256 is the controller built from Apps b96d9afe on this graph. Local tests: Linux desktop window, Habits UI and the Ziran and native tests above pass on a private Xvfb; the Android debug APK runs on a Pixel 4a; the Windows package runs under Wine on a private Xvfb. Co-Authored-By: Claude Opus 5.5 <[email protected]>
85 lines
2.8 KiB
NSIS
85 lines
2.8 KiB
NSIS
; inbe-setup.nsi — Inner Breeze Windows installer.
|
|
;
|
|
; Built by `make windows-setup` (see Makefile), which passes:
|
|
; -DVERSION=<x.y.z> -DPACKAGE_DIR=<path> -DOUT=<path>
|
|
; PACKAGE_DIR holds bin/ (the program and the desktop libraries' DLLs), etc/
|
|
; and share/. Inner Breeze runs on 64-bit Windows only. /S silent installs
|
|
; work (winget relies on them).
|
|
|
|
!ifndef VERSION
|
|
!error "VERSION must be defined (-DVERSION=1.2.3)"
|
|
!endif
|
|
!ifndef PACKAGE_DIR
|
|
!error "PACKAGE_DIR must be defined"
|
|
!endif
|
|
!ifndef OUT
|
|
!error "OUT must be defined"
|
|
!endif
|
|
|
|
Unicode true
|
|
SetCompressor /SOLID lzma
|
|
Name "Inner Breeze"
|
|
OutFile "${OUT}"
|
|
InstallDir "$PROGRAMFILES64\Inner Breeze"
|
|
InstallDirRegKey HKLM "Software\Inner Breeze" "InstallDir"
|
|
RequestExecutionLevel admin
|
|
|
|
!include "MUI2.nsh"
|
|
!include "x64.nsh"
|
|
|
|
!define ARP "Software\Microsoft\Windows\CurrentVersion\Uninstall\Inner Breeze"
|
|
|
|
!insertmacro MUI_PAGE_DIRECTORY
|
|
!insertmacro MUI_PAGE_INSTFILES
|
|
!insertmacro MUI_UNPAGE_CONFIRM
|
|
!insertmacro MUI_UNPAGE_INSTFILES
|
|
!insertmacro MUI_LANGUAGE "English"
|
|
|
|
Function .onInit
|
|
${IfNot} ${RunningX64}
|
|
MessageBox MB_OK|MB_ICONSTOP "Inner Breeze requires 64-bit Windows." /SD IDOK
|
|
Abort
|
|
${EndIf}
|
|
FunctionEnd
|
|
|
|
Section "Inner Breeze"
|
|
SetOutPath "$INSTDIR"
|
|
File /r "${PACKAGE_DIR}\bin" "${PACKAGE_DIR}\etc" "${PACKAGE_DIR}\share"
|
|
; Earlier releases kept the program beside uninstall.exe; through 2.1.43
|
|
; it was named inbe-windows-x86_64.exe.
|
|
Delete "$INSTDIR\breeze-windows-x86_64.exe"
|
|
Delete "$INSTDIR\inbe-windows-x86_64.exe"
|
|
|
|
Var /GLOBAL ExeName
|
|
StrCpy $ExeName "bin\breeze-windows-x86_64.exe"
|
|
|
|
CreateDirectory "$SMPROGRAMS\Inner Breeze"
|
|
CreateShortcut "$SMPROGRAMS\Inner Breeze\Inner Breeze.lnk" "$INSTDIR\$ExeName"
|
|
CreateShortcut "$DESKTOP\Inner Breeze.lnk" "$INSTDIR\$ExeName"
|
|
|
|
WriteRegStr HKLM "Software\Inner Breeze" "InstallDir" "$INSTDIR"
|
|
WriteRegStr HKLM "${ARP}" "DisplayName" "Inner Breeze"
|
|
WriteRegStr HKLM "${ARP}" "DisplayVersion" "${VERSION}"
|
|
WriteRegStr HKLM "${ARP}" "DisplayIcon" "$INSTDIR\$ExeName"
|
|
WriteRegStr HKLM "${ARP}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
|
WriteRegDWORD HKLM "${ARP}" "NoModify" 1
|
|
WriteRegDWORD HKLM "${ARP}" "NoRepair" 1
|
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
|
SectionEnd
|
|
|
|
Section "Uninstall"
|
|
RMDir /r "$INSTDIR\bin"
|
|
RMDir /r "$INSTDIR\etc"
|
|
RMDir /r "$INSTDIR\share"
|
|
Delete "$INSTDIR\breeze-windows-x86_64.exe"
|
|
; Installs from before 64-bit only releases also carried this file.
|
|
Delete "$INSTDIR\inbe-windows-i686.exe"
|
|
Delete "$INSTDIR\uninstall.exe"
|
|
Delete "$SMPROGRAMS\Inner Breeze\Inner Breeze.lnk"
|
|
RMDir "$SMPROGRAMS\Inner Breeze"
|
|
Delete "$DESKTOP\Inner Breeze.lnk"
|
|
RMDir "$INSTDIR"
|
|
DeleteRegKey HKLM "${ARP}"
|
|
DeleteRegKey HKLM "Software\Inner Breeze"
|
|
SectionEnd
|