@gd-kirie/tray 0.12.0 → 0.13.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/README.md +6 -0
- package/addon/.gdignore +0 -0
- package/addon/kirie_tray/bin/linux-arm64/libkirie_tray_native.so +0 -0
- package/addon/kirie_tray/bin/linux-x64/libkirie_tray_native.so +0 -0
- package/addon/kirie_tray/bin/osx-arm64/libkirie_tray_native.dylib +0 -0
- package/addon/kirie_tray/bin/osx-x64/libkirie_tray_native.dylib +0 -0
- package/addon/kirie_tray/bin/win-arm64/kirie_tray_native.dll +0 -0
- package/addon/kirie_tray/bin/win-x64/kirie_tray_native.dll +0 -0
- package/addon/kirie_tray/kirie_tray.gdextension +11 -0
- package/addon/kirie_tray/plugin.cfg +5 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +13 -1
- package/dist/plugin.js.map +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -21,4 +21,10 @@ Install the plugin dependencies:
|
|
|
21
21
|
pnpm kirie doctor --fix plugin:tray
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
This command installs `addons/kirie_tray` and the `GdKirie.Tray` NuGet host.
|
|
25
|
+
The npm package bundles the desktop GDExtension libraries. Godot selects the
|
|
26
|
+
library for the current platform and includes it in application exports.
|
|
27
|
+
macOS, Windows, and Linux support x64 and Arm64. Linux requires a
|
|
28
|
+
StatusNotifierItem host.
|
|
29
|
+
|
|
24
30
|
See the [`tray` example](../../examples/tray/README.md) for a complete setup.
|
package/addon/.gdignore
ADDED
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[configuration]
|
|
2
|
+
entry_symbol = "gdext_rust_init"
|
|
3
|
+
compatibility_minimum = "4.7"
|
|
4
|
+
|
|
5
|
+
[libraries]
|
|
6
|
+
macos.arm64 = "./bin/osx-arm64/libkirie_tray_native.dylib"
|
|
7
|
+
macos.x86_64 = "./bin/osx-x64/libkirie_tray_native.dylib"
|
|
8
|
+
linux.arm64 = "./bin/linux-arm64/libkirie_tray_native.so"
|
|
9
|
+
linux.x86_64 = "./bin/linux-x64/libkirie_tray_native.so"
|
|
10
|
+
windows.arm64 = "./bin/win-arm64/kirie_tray_native.dll"
|
|
11
|
+
windows.x86_64 = "./bin/win-x64/kirie_tray_native.dll"
|
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","names":[],"sources":["../src/plugin.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","names":[],"sources":["../src/plugin.ts"],"mappings":";;;cAQA,QAAA,EAmBM,WAAA"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import { defineKiriePlugin } from "kirie/plugin";
|
|
2
|
+
//#region package.json
|
|
3
|
+
var version = "0.13.0";
|
|
2
4
|
//#endregion
|
|
3
5
|
//#region src/plugin.ts
|
|
6
|
+
const bundledAddonUrl = new URL("../addon/kirie_tray", import.meta.url).href;
|
|
4
7
|
var plugin_default = defineKiriePlugin({
|
|
5
8
|
id: "tray",
|
|
6
9
|
dotnetPackages: [{
|
|
7
10
|
id: "GdKirie.Tray",
|
|
8
|
-
version
|
|
11
|
+
version
|
|
12
|
+
}],
|
|
13
|
+
godotAddons: [{
|
|
14
|
+
id: "kirie-tray",
|
|
15
|
+
path: "addons/kirie_tray",
|
|
16
|
+
source: {
|
|
17
|
+
type: "bundled",
|
|
18
|
+
url: bundledAddonUrl
|
|
19
|
+
},
|
|
20
|
+
version
|
|
9
21
|
}]
|
|
10
22
|
});
|
|
11
23
|
//#endregion
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","names":["packageJson.version"],"sources":["../package.json","../src/plugin.ts"],"sourcesContent":["","import type { KiriePlugin } from \"kirie/plugin\";\nimport { defineKiriePlugin } from \"kirie/plugin\";\nimport packageJson from \"../package.json\" with { type: \"json\" };\n\n// ADR-
|
|
1
|
+
{"version":3,"file":"plugin.js","names":["packageJson.version"],"sources":["../package.json","../src/plugin.ts"],"sourcesContent":["","import type { KiriePlugin } from \"kirie/plugin\";\nimport { defineKiriePlugin } from \"kirie/plugin\";\nimport packageJson from \"../package.json\" with { type: \"json\" };\n\nconst bundledAddonUrl = new URL(\"../addon/kirie_tray\", import.meta.url).href;\n\n// ADR-0015: Godot loads and exports the optional Tray native library.\n// See docs/decisions/0015-load-tray-through-a-gdextension.md.\nexport default defineKiriePlugin({\n id: \"tray\",\n dotnetPackages: [\n {\n id: \"GdKirie.Tray\",\n version: packageJson.version,\n },\n ],\n godotAddons: [\n {\n id: \"kirie-tray\",\n path: \"addons/kirie_tray\",\n source: {\n type: \"bundled\",\n url: bundledAddonUrl,\n },\n version: packageJson.version,\n },\n ],\n}) as KiriePlugin;\n"],"mappings":";;;;;ACIA,MAAM,kBAAkB,IAAI,IAAI,uBAAuB,OAAO,KAAK,GAAG,CAAC,CAAC;AAIxE,IAAA,iBAAe,kBAAkB;CAC/B,IAAI;CACJ,gBAAgB,CACd;EACE,IAAI;EACKA;CACX,CACF;CACA,aAAa,CACX;EACE,IAAI;EACJ,MAAM;EACN,QAAQ;GACN,MAAM;GACN,KAAK;EACP;EACSA;CACX,CACF;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gd-kirie/tray",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,14 +20,15 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
|
+
"addon",
|
|
23
24
|
"dist"
|
|
24
25
|
],
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@gd-kirie/ipc-eventa": "0.
|
|
27
|
+
"@gd-kirie/ipc-eventa": "0.13.0",
|
|
27
28
|
"@moeru/eventa": "^1.0.2"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
|
-
"kirie": "^0.
|
|
31
|
+
"kirie": "^0.13.0"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"tsdown": "^0.22.2",
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
"registry": "https://registry.npmjs.org"
|
|
40
41
|
},
|
|
41
42
|
"scripts": {
|
|
42
|
-
"build": "tsdown",
|
|
43
|
+
"build": "tsdown && node scripts/package-addon.ts",
|
|
43
44
|
"test:run": "vitest run",
|
|
44
45
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
45
46
|
}
|