-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdir.ts
More file actions
35 lines (34 loc) · 966 Bytes
/
dir.ts
File metadata and controls
35 lines (34 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import webuiWindowsIntel from "./src/webui-libs/webui-x64.dll_.json" with { type: "json" };
import webuiLinuxArm from "./src/webui-libs/webui-arm64.so_.json" with { type: "json" };
import webuiLinuxIntel from "./src/webui-libs/webui-x64.so_.json" with { type: "json" };
import webuiMacosIntel from "./src/webui-libs/webui-x64.dylib_.json" with { type: "json" };
import webuiMacosArm from "./src/webui-libs/webui-arm64.dylib_.json" with { type: "json" };
export default {
"darwin": {
"ext": "dylib",
"encoded": {
"aarch64": webuiMacosArm.encoded,
"x86_64": webuiMacosIntel.encoded,
},
},
"linux": {
"ext": "so",
"encoded": {
"aarch64": webuiLinuxArm.encoded,
"x86_64": webuiLinuxIntel.encoded,
}
},
"windows": {
"ext": "dll",
"encoded": {
"x86_64": webuiWindowsIntel.encoded,
}
}
} as {
[platform: string]: {
ext: string,
encoded: {
[arch: string]: string,
},
},
};