Closed dXrayb closed 7 months ago
上傳winget都需要人工審查,0.78.0的版本目前還在等待審查 https://github.com/microsoft/winget-pkgs/pull/137326
winget上的0.77.0比較像測試版,安裝檔比較土炮會有一些錯誤我不意外
你可以直接下載 0.78.0 的exe https://github.com/lin-ycv/EverythingPowerToys/releases/download/v0.78.0/EverythingPT-0.78.0-x64.exe
目前已经正常,不过我第一次安装时仍然失败,原因是没有关闭 powertoys。使用 winget 安装本插件时也需要关闭 powertoys,或许也会有人忘记这个步骤。
Hi @dXrayb 建议使用 winget-releaser 发布,这样你就不用费心维护 pwsh 脚本了
name: Publish to WinGet
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: lin-ycv.EverythingPowerToys
installers-regex: '\.exe$' # Only .exe files
token: ${{ secrets.WINGET_TOKEN }}
Hi @dXrayb 建议使用 winget-releaser 发布,这样你就不用费心维护 pwsh 脚本了
name: Publish to WinGet on: release: types: [released] jobs: publish: runs-on: windows-latest steps: - uses: vedantmgoyal2009/winget-releaser@v2 with: identifier: lin-ycv.EverythingPowerToys installers-regex: '\.exe$' # Only .exe files token: ${{ secrets.WINGET_TOKEN }}
目前x64可以用这种方法更新,ARM版本还是要手动更新的。
Describe the bug 通过WinGet安装报错,且0.78已经发布,WinGet仍然获取的是0.77 已成功验证安装程序哈希 正在启动程序包安装... 安装程序失败,退出代码为: 1 Log如下:
[4C14:7360][2024-02-01T12:09:54]i001: Burn v3.14.0.6526, Windows v10.0 (Build 22631: Service Pack 0), path: C:\Users\xxx\AppData\Local\Temp\{E408F8A6-B100-4870-AC0B-03C104CC4FD8}\.cr\PowerToysUserSetup-0.77.0-arm64.exe [4C14:7360][2024-02-01T12:09:54]i000: Initializing string variable 'InstallFolder' to value '[LocalAppDataFolder]PowerToys' [4C14:7360][2024-02-01T12:09:54]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys\' [4C14:7360][2024-02-01T12:09:54]i000: Initializing version variable 'MinimumVersion' to value '0.0.0.0' [4C14:7360][2024-02-01T12:09:54]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.77.0' [4C14:7360][2024-02-01T12:09:54]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0' [4C14:7360][2024-02-01T12:09:54]i000: Initializing version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0' [4C14:7360][2024-02-01T12:09:54]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0' [4C14:7360][2024-02-01T12:09:54]i009: Command Line: '-burn.clean.room=C:\Users\xxx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.77.0\PowerToysUserSetup-0.77.0-arm64.exe -burn.filehandle.attached=744 -burn.filehandle.self=664 /quiet /norestart /log C:\Users\xxx\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerToys.0.77.0-2024-02-01-12-09-53.949.log' [4C14:7360][2024-02-01T12:09:54]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\xxx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.77.0\PowerToysUserSetup-0.77.0-arm64.exe' [4C14:7360][2024-02-01T12:09:54]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\xxx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.77.0\' [4C14:7360][2024-02-01T12:09:54]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\xxx\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerToys.0.77.0-2024-02-01-12-09-53.949.log' [4C14:7360][2024-02-01T12:09:54]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) ARM64' [4C14:7360][2024-02-01T12:09:54]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation' [4C14:7934][2024-02-01T12:09:54]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033 [4C14:7934][2024-02-01T12:09:54]i000: Setting version variable 'WixBundleFileVersion' to value '0.77.0.0' [4C14:7360][2024-02-01T12:09:54]i100: Detect begin, 3 packages [4C14:7360][2024-02-01T12:09:54]i000: Product or related product not found: {D8B559DB-4C98-487A-A33F-50A8EEE42726} [4C14:7360][2024-02-01T12:09:54]i000: Setting version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0' [4C14:7360][2024-02-01T12:09:54]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.78.0.0' [4C14:7360][2024-02-01T12:09:54]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '22631' [4C14:7360][2024-02-01T12:09:54]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' [4C14:7360][2024-02-01T12:09:54]i000: Setting numeric variable 'HasWebView2PerUser' to value 0 [4C14:7360][2024-02-01T12:09:54]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1 [4C14:7360][2024-02-01T12:09:54]i102: Detected related bundle: {56449e36-fc82-404e-82fb-beaccb01c7d2}, type: Upgrade, scope: PerMachine, version: 0.78.0.0, operation: Downgrade [4C14:7360][2024-02-01T12:09:54]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true. [4C14:7360][2024-02-01T12:09:54]i101: Detected package: TerminatePowerToys, state: Absent, cached: None [4C14:7360][2024-02-01T12:09:54]i101: Detected package: WebView2, state: Present, cached: None [4C14:7360][2024-02-01T12:09:54]i101: Detected package: PowerToysUserSetup_0.77.0_ARM64.msi, state: Absent, cached: None [4C14:7360][2024-02-01T12:09:54]i052: Condition 'MinimumVersion >= DetectedPowerToysVersion' evaluates to false. [4C14:7360][2024-02-01T12:09:54]e000: PowerToys is already installed on this system for all users. We recommend first uninstalling that version before installing this one. [4C14:7360][2024-02-01T12:09:54]e000: Error 0x81f40001: Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysVersion [4C14:7360][2024-02-01T12:09:54]i199: Detect complete, result: 0x0 [4C14:7360][2024-02-01T12:09:54]i500: Shutting down, exit code: 0x1 [4C14:7360][2024-02-01T12:09:54]i410: Variable: DetectedPowerToysUserVersion = 0.0.0.0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: DetectedPowerToysVersion = 0.78.0.0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: DetectedWindowsBuildNumber = 22631 [4C14:7360][2024-02-01T12:09:54]i410: Variable: HasWebView2PerMachine = 1 [4C14:7360][2024-02-01T12:09:54]i410: Variable: HasWebView2PerUser = 0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: InstallFolder = C:\Users\xxx\AppData\Local\PowerToys [4C14:7360][2024-02-01T12:09:54]i410: Variable: LocalAppDataFolder = C:\Users\xxx\AppData\Local\ [4C14:7360][2024-02-01T12:09:54]i410: Variable: MinimumVersion = 0.0.0.0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: MsiLogFolder = C:\Users\xxx\AppData\Local\\Microsoft\PowerToys\ [4C14:7360][2024-02-01T12:09:54]i410: Variable: TargetPowerToysVersion = 0.77.0.0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleAction = 5 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleElevated = 0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleFileVersion = 0.77.0.0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleInstalled = 0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleLog = C:\Users\xxx\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerToys.0.77.0-2024-02-01-12-09-53.949.log [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleManufacturer = Microsoft Corporation [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleName = PowerToys (Preview) ARM64 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleOriginalSource = C:\Users\xxx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.77.0\PowerToysUserSetup-0.77.0-arm64.exe [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleOriginalSourceFolder = C:\Users\xxx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.77.0\ [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleProviderKey = {b1b9b954-90ca-4bf3-a8c8-21c69d1f2cc4} [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleSourceProcessFolder = C:\Users\xxx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.77.0\ [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleSourceProcessPath = C:\Users\xxx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.77.0\PowerToysUserSetup-0.77.0-arm64.exe [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleTag = [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleUILevel = 2 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixBundleVersion = 0.77.0.0 [4C14:7360][2024-02-01T12:09:54]i410: Variable: WixStdBALanguageId = 1033 [4C14:7360][2024-02-01T12:09:54]i007: Exit code: 0x1, restarting: No
To Reproduce Steps to reproduce the behavior:Expected behavior 正常应该可以获取最新版本并更新
Version (please provide the version of software you are using):