Capacitor: Electron files do not update

Wappler Version: 4.5.2
Operating System: Windows 11

Expected behavior

Building and then running electron should copy the files from /www to /electron/app (and \electron\build\src)

Actual behavior

The files do not update. The only way I have found to get the correct files is to manually copy the files from /www to /electron/app

How to reproduce

  • Create a mobile, bootstrap blank project with Capacitor as the runtime.
  • Add Web and then Electron as platforms
  • Add some content to the index.html
  • Switch to the Electron platform and then build/emulate. You will see the pre-content version of the page.

Make sure you have save the pages you publish.

on each run those files are used.

Have the same problem on Mac OS with Electron - tried both bootstrap and Framework 7.
Saving after each change. Always shows original info.
Additionally the package.json file is never updated.

Fixed in Wappler 5.1.1

This topic was automatically closed after 31 hours. New replies are no longer allowed.