Skip to content

an Electron app that you can play Evolve in it. 一个用于玩Evolve的Electron套壳软件

License

Notifications You must be signed in to change notification settings

XiaofengdiZhu/evolve-electron

Repository files navigation

evlove-electron

About 关于

As the name, this is an Electron app that you can play Evolve in it. 如题,这是一个用于玩EvolveElectron套壳软件。

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套壳来提升后台能力。

Fetchers 特色

  • 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.亮色、暗色主题。

Download 下载

Click here 点我

Scripts 脚本

This feature is supported by Tampermonkey 这个功能由篡改猴提供支持

How to use 如何使用**

Click 脚本 button on the menubar, click 脚本设置 button, set the Language option to your language, click Installed Userscripts and add scripts. 点击菜单栏的脚本按钮, 点击脚本设置按钮按钮,设置Language选项为你的语言,点击已安装的脚本并添加脚本。

Attention 注意**

You can get scripts for MegaEvolve from here: 请从下面链接获取适配超进化的脚本:
https://github.com/XiaofengdiZhu/evolve-electron/tree/main/tampermonkeyScripts

Screenshot 截图

screenshot 截图

Discussion 讨论

Build Commands 构建命令

  1. Install dependencies. 安装依赖。
yarn install
  1. Test is it ok. 测试能否正常运行。
yarn start
  1. Build a installer. 构建一个安装程序。
yarn build

Key codes 关键代码

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;

About

an Electron app that you can play Evolve in it. 一个用于玩Evolve的Electron套壳软件

Resources

License

Stars

Watchers

Forks