Skip to content
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

简化安装步骤,发布软件到chocolatey #1008

Open
ywmoyue opened this issue Jan 23, 2025 · 18 comments
Open

简化安装步骤,发布软件到chocolatey #1008

ywmoyue opened this issue Jan 23, 2025 · 18 comments
Assignees
Milestone

Comments

@ywmoyue
Copy link
Owner

ywmoyue commented Jan 23, 2025

问题描述

只需一行choco install命令即可安装此uwp应用

描述解决方案

发布软件到chocolatey

附加信息

No response

代码贡献

是,我愿意提交代码

@ywmoyue
Copy link
Owner Author

ywmoyue commented Jan 23, 2025

已验证可行性 https://community.chocolatey.org/packages/BiliLite-uwp-x64

当前可通过 choco install bililite-uwp-x64 --pre 安装4.7.13.1402版本

Image

@ywmoyue
Copy link
Owner Author

ywmoyue commented Jan 23, 2025

局限性: chocolatey 不支持特别大的安装包,无法将所有架构安装包整合到一个包中,必须不同架构使用不同的软件名进行安装

目前发布正式版缺乏条件: LICENSE.txt 和 VERIFICATION.txt

@ywmoyue
Copy link
Owner Author

ywmoyue commented Jan 23, 2025

似乎目前的预发布模式不需要 LICENSE.txt 和 VERIFICATION.txt ,可先试行一段时间

@ywmoyue
Copy link
Owner Author

ywmoyue commented Jan 23, 2025

@xiaoyaocz 请问能许可我将此Fork版本发布到chocolatey吗

(我push上去后发现没有办法可以删除chocolatey仓库里的这个包了,不过目前缺少 LICENSE.txt 好像是用choco search搜索不到的

@xiaoyaocz
Copy link

@xiaoyaocz 请问能许可我将此Fork版本发布到chocolatey吗

(我push上去后发现没有办法可以删除chocolatey仓库里的这个包了,不过目前缺少 LICENSE.txt 好像是用choco search搜索不到的

可以的

@ProJend
Copy link

ProJend commented Jan 23, 2025

上架微软市集啦🤭🤭

@ywmoyue
Copy link
Owner Author

ywmoyue commented Jan 23, 2025

可以的

好的,谢谢大佬

ywmoyue added a commit that referenced this issue Jan 27, 2025
ywmoyue added a commit that referenced this issue Jan 28, 2025
@ywmoyue ywmoyue added this to the 待发布-4.7.14 milestone Jan 29, 2025
@ywmoyue
Copy link
Owner Author

ywmoyue commented Jan 29, 2025

4.7.14 版本在chocolatey仓库审核失败https://community.chocolatey.org/packages/BiliLite-uwp-x64/4.7.14-beta

看失败原因还是缺少LICENSE.txt

@xiaoyaocz 请问我可以为此Fork仓库添加和dart_simple_live一样的LICENSE吗 https://github.com/xiaoyaocz/dart_simple_live/blob/master/LICENSE

@JimmyRespawn
Copy link

感觉也可以提到winget,更方便点

ywmoyue added a commit that referenced this issue Jan 30, 2025
ywmoyue added a commit that referenced this issue Feb 3, 2025
@GitHubd3b7c
Copy link

感觉也可以提到winget,更方便点

scoop也不错

@CKopoer
Copy link

CKopoer commented Feb 7, 2025

似乎有些问题,安装报错

Installing app...
Found dependency package(s):
C:\ProgramData\chocolatey\lib\BiliLite-uwp-x64\unpack\BiliLite.Packages_4.7.14.0_x64_Test\Dependencies\x64\Microsoft.NET.CoreFramework.Debug.2.2.appx
C:\ProgramData\chocolatey\lib\BiliLite-uwp-x64\unpack\BiliLite.Packages_4.7.14.0_x64_Test\Dependencies\x64\Microsoft.NET.CoreRuntime.2.2.appx
C:\ProgramData\chocolatey\lib\BiliLite-uwp-x64\unpack\BiliLite.Packages_4.7.14.0_x64_Test\Dependencies\x64\Microsoft.UI.Xaml.2.8.appx
C:\ProgramData\chocolatey\lib\BiliLite-uwp-x64\unpack\BiliLite.Packages_4.7.14.0_x64_Test\Dependencies\x64\Microsoft.VCLibs.x64.14.00.appx
C:\ProgramData\chocolatey\lib\BiliLite-uwp-x64\unpack\BiliLite.Packages_4.7.14.0_x64_Test\Dependencies\x64\Microsoft.VCLibs.x64.14.00.Desktop.appx
The type initializer for '<Module>' threw an exception.
Error: Could not install the app.

@ywmoyue
Copy link
Owner Author

ywmoyue commented Feb 7, 2025

@CKopoer 你的操作系统版本是24H2吗

@CKopoer
Copy link

CKopoer commented Feb 7, 2025

@CKopoer 你的操作系统版本是24H2吗

是的,系统原因导致的吗

@ywmoyue
Copy link
Owner Author

ywmoyue commented Feb 7, 2025

@CKopoer 你的操作系统版本是24H2吗

是的,系统原因导致的吗

有可能,之前发现朋友的24H2也是这样,有空我测试一下看能不能处理

@ywmoyue
Copy link
Owner Author

ywmoyue commented Feb 8, 2025

@CKopoer 你的操作系统版本是24H2吗

是的,系统原因导致的吗

找到github上有其他人反馈在24H2上使用Choco安装WinGet有一样的报错,没有找到解决方法,看来只能看看其他的软件包源了

@CKopoer
Copy link

CKopoer commented Feb 8, 2025

@CKopoer 你的操作系统版本是24H2吗

是的,系统原因导致的吗

找到github上有其他人反馈在24H2上使用Choco安装WinGet有一样的报错,没有找到解决方法,看来只能看看其他的软件包源了

hhh那估计微软的锅,等下个版本看看会不会修复

@pheotry
Copy link

pheotry commented Feb 17, 2025

可以顺带给winget和scoop也提交一份吗。
choco 不是很好使

@ywmoyue
Copy link
Owner Author

ywmoyue commented Feb 17, 2025

可以顺带给winget和scoop也提交一份吗。 choco 不是很好使

我看了下winget,要求安装程序必须是 MSIX、MSI、APPX 或 .exe 应用程序安装程序,不支持这种脚本方式的安装 https://github.com/microsoft/winget-pkgs

Image

scoop我还没看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants