feat(package): include built remote-control-web in packaged app

Add a packaging rule to copy the built remote-control-web output from
dist/apps/remote-control-web into the installer as remote-control-web.
Previously the repository included the raw source pattern
remote-control-web/**/* which did not reflect the compiled build output.
By pointing files to the dist build and filtering all files, the packaged
app now contains the production web assets instead of source files.

This fixes missing runtime assets in releases and ensures the packaged
installer includes the correct built web app for remote control.
This commit is contained in:
4gray committed 2025-12-09 16:43:25 +01:00
1 parent 6b0436e788
commit a80f3b925f
1 file changed
+5 -1
+5 -1
View File
@@ -28,9 +28,13 @@
"output": "dist/executables"
},
"files": [
{
"from": "dist/apps/remote-control-web",
"to": "remote-control-web",
"filter": ["**/*"]
},
"electron-backend/**/*",
"web/**/*",
"remote-control-web/**/*",
"!**/*.map"
],
"asarUnpack": [