@narumitw/pi-webui 0.31.0 → 0.33.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 +24 -12
- package/package.json +3 -3
- package/src/menu.ts +194 -0
- package/src/runtime.ts +195 -44
- package/src/server.ts +1 -1
- package/src/web/app.js +18 -18
- package/src/web/ui/app.jsx +32 -6
- package/src/web/ui/client.js +87 -10
- package/src/web/ui/view-helpers.js +63 -0
package/src/server.ts
CHANGED
|
@@ -800,7 +800,7 @@ async function readAsset(name: string): Promise<Buffer> {
|
|
|
800
800
|
return await readFile(runtimePath);
|
|
801
801
|
} catch (error) {
|
|
802
802
|
if (!isNodeError(error) || error.code !== "ENOENT") throw error;
|
|
803
|
-
return readFile(join(process.cwd(), "
|
|
803
|
+
return readFile(join(process.cwd(), "experimental", "pi-webui", "src", "web", name));
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
806
|
|