As the name, this is an Electron app that you can play Evolve in it. 如题,这是一个用于玩Evolve的Electron套壳软件。
Because most modern web browsers limit the web games running in the background, so I decide to resolve it by myself. I choose making the web game running in Electron to improve the background performance. 因为绝大部分现代浏览器对后台运行网页游戏有限制,所以我决定自己动手解决此问题,选择了Electron套壳来提升后台能力。
- Full speed in background, support offscreen rendering mode.即使在后台也全速运行,支持离屏渲染模式。
- Support multiple game source and provide an inside speed-up version.支持多种游戏来源,并提供一个内置加速版本超进化。
- Support scripts with some limitations(No online update、no support for
require
).有限支持的脚本功能(不能在线更新、不支持require
)。 - Light and dark theme.亮色、暗色主题。
This feature is supported by Tampermonkey 这个功能由篡改猴提供支持
Click 脚本
button on the menubar, click 脚本设置
button, set the Language
option to your language, click Installed Userscripts
and add scripts.
点击菜单栏的脚本
按钮, 点击脚本设置按钮
按钮,设置Language
选项为你的语言,点击已安装的脚本
并添加脚本。
You can get scripts for MegaEvolve from here:
请从下面链接获取适配超进化的脚本:
https://github.com/XiaofengdiZhu/evolve-electron/tree/main/tampermonkeyScripts
- Install dependencies. 安装依赖。
yarn install
- Test is it ok. 测试能否正常运行。
yarn start
- Build a installer. 构建一个安装程序。
yarn build
This application use below codes to improve background performance: 这个软件使用以下代码来提升后台性能:
//Prevent the application from being suspended. Keeps system active but allows screen to be turned off.
//阻止软件被暂停。保持系统活动状态,但允许屏幕关闭。
powerSaveBlocker.start('prevent-app-suspension');
//Stop throttle animations and timers when the page becomes backgrounded.
//网页后台时不限制动画和计时器。
webContents.backgroundThrottling = false;