diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 31d95af2..a4ca8a38 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -77,7 +77,7 @@ steps: - task: GitHubRelease@1 inputs: gitHubConnection: 'github.com_Masterain' - repositoryName: 'DGP-Studio/Snap.Hutao' + repositoryName: 'DGP-Automation/Hutao-Auto-Release' action: 'create' target: '$(Build.SourceVersion)' tagSource: 'userSpecifiedTag' diff --git a/build.cake b/build.cake index 27344afc..31a5f671 100644 --- a/build.cake +++ b/build.cake @@ -96,7 +96,7 @@ Task("Build MSIX") .Does(() => { var p = StartProcess( - "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\makeappx.exe", + "makeappx.exe", new ProcessSettings { Arguments = "pack /d " + binPath + " /p " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix") @@ -113,7 +113,7 @@ Task("Sign MSIX") .Does(() => { var p = StartProcess( - "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe", + "signtool.exe", new ProcessSettings { Arguments = "sign /debug /v /a /fd SHA256 /f " + System.IO.Path.Combine(AzurePipelines.Environment.Agent.HomeDirectory.FullPath, "_work", "_temp", "DGP_Studio_CI.pfx") + " /p " + pw + " " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix")