目录
项目无法在win7执行

场景
使用[email protected]、[email protected],打出来的项目在win7系统上跑不起来,报错无法定位程序输入点DiscardVirtualMemoty于动态链接库KERNEL32.dll上。
尝试处理
通过百度发现[email protected]之后打出来的版本,都仅支持在win8以上的系统执行,于是降级electron版本和对应的electron-builder版本
bash
yarn add [email protected]
yarn add [email protected]
降级以来后重新打包,发现问题得以解决。