YtFlow / Maple

A lightweight Universal Windows proxy app based on https://github.com/eycorsican/leaf
Apache License 2.0
1.23k stars 121 forks source link

不好意思,我问一下,安装的根证书的作用是啥? #44

Closed lemos1235 closed 1 year ago

lemos1235 commented 1 year ago

另外,可以不安装证书进行使用吗?

bdbai commented 1 year ago

一般情况下 side loading 的包安装时会验证签名,所以需要手动导入根证书。也可以打开开发者模式,解压以后用 Add-AppxPackage 注册包布局。

lemos1235 commented 1 year ago

谢谢,明白了。

marco20240618 commented 11 months ago

一般情况下 side loading 的包安装时会验证签名,所以需要手动导入根证书。也可以打开开发者模式,解压以后用 Add-AppxPackage 注册包布局。

按照这个方法,https://beebom.com/how-fix-publisher-could-not-be-verified-error-windows-11/#:~:text=Enable%20Developer%20Settings%20on%20Windows%2011,-1.&text=Now%2C%20open%20%E2%80%9CDeveloper%20settings%E2%80%9C,source%2C%20even%20without%20a%20certificate.

用Add-AppxPackage安装,还是会报错。(开发者模式已打开,powershell管理员运行)

Add-AppxPackage -Register "C:\Users\pcl\Downloads\Maple.App_0.9.0.0_x64_Test\Maple.App_0.9.0.0_x64_Test\Maple.App_0.9.0.0_x64\AppxMetadata\AppxBundleManifest.xml"
Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.

Deployment Register operation with target volume C: on Package 56263bdbai.Maple_0.9.0.0_neutral_~_gv14dyc9zj8pj from:  (AppxBundleManifest.xml)  failed with error 0x80070057. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.

NOTE: For additional information, look for [ActivityId] 4b97108a-0980-0007-87eb-b94b8009da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 4b97108a-0980-0007-87eb-b94b8009da01