@gjsify/gtk-runtime-win32-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.
- package/index.js +5 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
// SPDX-License-Identifier: MIT
|
|
2
|
-
// @gjsify/gtk-runtime-win32-x64 — path helpers for the bundled GTK runtime.
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
// heavy `gtk/` payload is produced by scripts/build-gtk-runtime.mjs on a Windows
|
|
8
|
-
// runner.
|
|
2
|
+
// @gjsify/gtk-runtime-win32-x64 — path helpers for the bundled GTK runtime. @gjsify/node-gi
|
|
3
|
+
// resolves this package (optional, os/cpu-gated) to find the bundled typelib + DLL dirs when no
|
|
4
|
+
// gvsbuild/system GTK is present. Unlike macOS, Windows needs NO relocation: DLLs resolve by
|
|
5
|
+
// SEARCH PATH at LoadLibrary time, so node-gi just prepends `gtk/bin` to PATH before the addon
|
|
6
|
+
// loads. The heavy `gtk/` payload is produced by scripts/build-gtk-runtime.mjs on a Windows runner.
|
|
9
7
|
import { existsSync } from 'node:fs';
|
|
10
8
|
import { dirname, join } from 'node:path';
|
|
11
9
|
import { fileURLToPath } from 'node:url';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/gtk-runtime-win32-x64",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "Batteries-included GTK/GObject-Introspection runtime bundle for Windows x64 — lets @gjsify/node-gi load gi:// namespaces (GLib/GObject/Gio/cairo/Pango/Graphene/Gdk) with NO gvsbuild/system GTK. Platform-gated (win32/x64 only).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|