uniapp开发app框架在提升开发效率中的独特优势与应用探索
988
2022-11-02
Hadouken是一个用于构建具有桌面体验的Web应用程序的开源运行时
Requirements
The following setup is known to be working well. You can try other versions at your own risk of losing a lot of time.
Visual Studio 2015 Build Tools *OpenFin runtime executablesNode 8.2.1Grunt (grunt-cli 1.2.0)Python 2.7.12
_______________
* Only needed on Windows
Building the project
Mac/Linux
npm install
Windows
You need to ensure that Visual Studio 2013 is used to build the project.
npm update -msvs_version=2015npm install
Testing
Install the OpenFin cli tool
npm install -g openfin-cli
Create a manifest file Manifest file docs, targeting a valid version Runtime versions
app.json
{ "startup_app": { "name": "OpenfinPOC", "description": "OpenFin POC", "url": "http://openfin.co", "uuid": "OpenfinPOC-hla8ix6e0y2iwwjlxkojkbj4i", "autoShow": true }, "runtime": { "arguments": "", "version": "[replace this with a version]" }}
Launch OpenFin runtime once
openfin --config app.json --launch
Replace the OpenFin core with a built Hadouken core
npm run deploy -- --target=C:\Users\[username]\AppData\Local\OpenFin\runtime\[replace this with a version]\OpenFin\resources
Now you can re-launch the OpenFin runtime with the modified Hadouken core.
openfin --config app.json --launch
API Documentation
API Docs for the OpenFin core are available here:
Alpha
Stable
File Structure Notes
The contents of /src/renderer/extended folder is referenced by the openfin.asar (not contained in this project)
Contributing
Fork it (https://github.com/HadoukenIO/core/fork)Create your feature branch (git checkout -b feature/fooBar)Read our contribution guidelines and Community Code of ConductCommit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
NOTE: Commits and pull requests to FINOS repositories will only be accepted from those contributors with an active, executed Individual Contributor License Agreement (ICLA) with FINOS OR who are covered under an existing and active Corporate Contribution License Agreement (CCLA) executed with FINOS. Commits from individuals not covered under an ICLA or CCLA will be flagged and blocked by the FINOS Clabot tool. Please note that some CCLAs require individuals/employees to be explicitly named on the CCLA.
Need an ICLA? Unsure if you are covered under an existing CCLA? Email help@finos.org
License
The code in this repository is distributed under the Apache License, Version 2.0
However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin's Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email us at support@openfin.co with questions.
Copyright 2018-2019 OpenFin
https://openfin.co/developer-agreement/
https://openfin.co/licensing/
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~