Follow these steps if you want to rebuild the app from its packaged form.
- Mac: Open the
.dmgfile with an archiver (like PeaZip) or use a dmg extractor. - Linux: Run the AppImage with:
./AppName.AppImage --appimage-extract
Use Asar Extractor to unpack the .asar file you found.
Clone this repository, but don’t include submodules:
git clone https://github.com/Twig6943/PVZGE-ElectronInside the cloned repo:
- Create a folder called
pvzge_site - Inside
pvzge_sitecreate another folder calleddocs
From your decompiled .asar contents:
- Go to
out/renderer - Move everything from there into the
docsfolder you just made
Install dependencies and build it:
npm install
npm run build:win -- --publish=never