I was successful when I packaged in Windows 10, but I got an error in Windows 7:
Make sure that .NET Framework 4.5 or later and Powershell 3 or later are installed, otherwise extracting the Electron zip file will hang.
Reason: The version is low, check the PowerShell version https://mp.csdn.net/editor/html/112217153
First, check if there are programs above .NET Framework 4.5 and Powershell 3 in the control panel -> uninstall program, if not, you need to download and install