-
Notifications
You must be signed in to change notification settings - Fork 10
feat: add rfc 0013 electron packaging #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
74a8ac0 to
07bc9d8
Compare
rfcs/0013-electron.md
Outdated
|
|
||
| ## 动机 | ||
|
|
||
| 目前,deepin 官方仓库未提供 electron 运行时软件包,debian 社区也没有打包 electron 运行时。这意味着,依赖 electron 运行的应用程序如果要在 deepin 上发布,通常需要自行捆绑 electron 运行时,或者要求用户自行安装,这会带来以下问题: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果要在 deepin 上发布
那些自己独立分发的软件一般还是会主动附带一份electron,我们可能只能让希望在我们源/仓库内提供的软件包,或者刻意针对我们进行适配的软件包可以使用我们提供的electron
07bc9d8 to
a54b195
Compare
|
|
||
| ### 3. electron 应用程序打包方式 | ||
|
|
||
| 应用程序开发者在打包时,须在其 `debian/control` 文件中明确声明对特定主版本运行时的依赖,例如 `Depends: electron29`。软件包内容应仅包含应用自身代码与资源(如 `app.asar`),不再捆绑 electron 二进制文件。应用的启动脚本需相应修改,以调用系统路径下的共享运行时,例如 `exec /usr/bin/electron29 /usr/lib/app-name/ "$@"`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 应用程序开发者在打包时,须在其 `debian/control` 文件中明确声明对特定主版本运行时的依赖,例如 `Depends: electron29`。软件包内容应仅包含应用自身代码与资源(如 `app.asar`),不再捆绑 electron 二进制文件。应用的启动脚本需相应修改,以调用系统路径下的共享运行时,例如 `exec /usr/bin/electron29 /usr/lib/app-name/ "$@"`。 | |
| 应用程序开发者在打包时,须在其 `debian/control` 文件中明确声明对特定主版本运行时的依赖,例如 `Depends: electron-29`。软件包内容应仅包含应用自身代码与资源(如 `app.asar`),不再捆绑 electron 二进制文件。应用的启动脚本需相应修改,以调用系统路径下的共享运行时,例如 `exec /usr/bin/electron29 /usr/lib/app-name/ "$@"`。 |
|
|
||
| ### 3. electron 应用程序打包方式 | ||
|
|
||
| 应用程序开发者在打包时,须在其 `debian/control` 文件中明确声明对特定主版本运行时的依赖,例如 `Depends: electron29`。软件包内容应仅包含应用自身代码与资源(如 `app.asar`),不再捆绑 electron 二进制文件。应用的启动脚本需相应修改,以调用系统路径下的共享运行时,例如 `exec /usr/bin/electron29 /usr/lib/app-name/ "$@"`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个应该不是强制吗?
No description provided.