同步操作将从 Freeless/TOMATOX Player 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
github地址: https://github.com/yanjiaxuan/TOMATOX
Electron application boilerplate based on React and Webpack for rapid application development using TypeScript.
Clone the repository with Git:
git clone --depth=1 git@github.com:yanjiaxuan/TOMATOX.git <your-project-name>
And then install the dependencies:
cd <your-project-name>
npm install
Both processes have to be started simultaneously in different console tabs:
npm run start-renderer-dev
npm run start-main-dev
This will start the application with hot-reload so you can instantly start developing your application.
You can also run do the following to start both in a single process:
npm run start-dev
We use Electron builder to build and package the application. By default you can run the following to package for your current platform:
npm run dist
This will create a installer for your platform in the releases
folder.
You can make builds for specific platforms (or multiple platforms) by using the options found here. E.g. building for all platforms (Windows, Mac, Linux):
npm run dist -- -mwl
This project comes with both Husky and Prettier setup to ensure a consistent code style.
To change the code style, you can change the configuration in .prettierrc
.
In case you want to get rid of this, you can removing the following from package.json
:
precommit
from the scripts
sectionlint-staged
sectionlint-staged
, prettier
, eslint-config-prettier
, and husky
from the devDependencies
Also remove all mentions of Prettier from the extends
section in .eslintrc.json
.
本人发布的所有资源或软件均来自网络,与本人没有任何关系,只能作为私下交流、学习、研究之用,版权归原作者及原软件公司所有。
本人发布的所有资源或软件请在下载后24小时内自行删除。如果您喜欢这个资源或软件,请联系原作者或原软件公司购买正版。与本人无关!
本人仅仅提供一个私下交流、学习、研究的环境,将不对任何资源或软件负法律责任!
任何涉及商业盈利性目的的单位或个人,均不得使用本人发布的资源或软件,否则产生的一切后果将由使用者自己承担!
MIT © yanjiaxuan
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。