@gjsify/gtk-runtime-darwin-x64 0.35.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +9 -11
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,16 +1,14 @@
1
1
  // SPDX-License-Identifier: MIT
2
- // @gjsify/gtk-runtime-darwin-x64 — path helpers for the relocated GTK runtime
3
- // bundle. @gjsify/node-gi resolves this package (optional, os/cpu-gated) to find
4
- // the bundled typelib + dylib dirs when no Homebrew GTK is present. The heavy
5
- // `gtk/` payload is produced by ../scripts/build-gtk-runtime-darwin.mjs on an
6
- // Intel macOS runner.
2
+ // @gjsify/gtk-runtime-darwin-x64 — path helpers for the relocated GTK runtime bundle.
3
+ // @gjsify/node-gi resolves this package (optional, os/cpu-gated) to find the bundled typelib +
4
+ // dylib dirs when no Homebrew GTK is present. The heavy `gtk/` payload is produced by
5
+ // ../scripts/build-gtk-runtime-darwin.mjs on an Intel macOS runner.
7
6
  //
8
- // Byte-for-byte the same body as the darwin-arm64 / win32-x64 siblings apart from
9
- // this header, and deliberately NOT lifted into a shared module: this file IS the
10
- // package entry (`require.resolve('@gjsify/gtk-runtime-<target>')`), and these
11
- // tarballs are deliberately dependency-free so a platform-gated install needs no
12
- // resolution beyond itself. It also carries no arch-dependent logic to drift —
13
- // every path is relative to this file.
7
+ // Byte-for-byte the same body as the darwin-arm64 sibling apart from this header (win32-x64
8
+ // exports `binDir` instead), deliberately NOT lifted into a shared module: this file IS the
9
+ // package entry (`require.resolve('@gjsify/gtk-runtime-<target>')`) and these tarballs are
10
+ // dependency-free, so a platform-gated install needs no resolution beyond itself. No
11
+ // arch-dependent logic to drift — every path is relative to this file.
14
12
  import { existsSync } from 'node:fs';
15
13
  import { dirname, join } from 'node:path';
16
14
  import { fileURLToPath } from 'node:url';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/gtk-runtime-darwin-x64",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Batteries-included, relocated GTK/GObject-Introspection runtime bundle for macOS Intel (x64) — lets @gjsify/node-gi load gi:// namespaces (GLib/GObject/Gio/cairo/Pango/Graphene/Gdk) with NO Homebrew GTK. Platform-gated (darwin/x64 only).",
5
5
  "type": "module",
6
6
  "license": "MIT",