Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacrlevin committed Dec 26, 2023
1 parent 7f51990 commit da2715c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Deploy_Desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@ jobs:
$zip64Hash.Hash | Out-File -Encoding 'UTF8' "./StandaloneSigned/PresenceLight.${{ env.VERSION }}-x64.zip.sha256"
$zip86Hash = Get-FileHash "./StandaloneSigned/PresenceLight.${{ env.VERSION }}-x86.zip" -Algorithm SHA256
$zip86Hash.Hash | Out-File -Encoding 'UTF8' "./StandaloneSigned/PresenceLight.${{ env.VERSION }}-x86-zip.sha256"
$zip86Hash.Hash | Out-File -Encoding 'UTF8' "./StandaloneSigned/PresenceLight.${{ env.VERSION }}-x86.zip.sha256"
$zipARMHash = Get-FileHash "./StandaloneSigned/PresenceLight.${{ env.VERSION }}-win-arm64.zip" -Algorithm SHA256
$zipARMHash.Hash | Out-File -Encoding 'UTF8' "./StandaloneSigned/PresenceLight.${{ env.VERSION }}-win-arm64.zip.sha256"
$zipARMHash.Hash | Out-File -Encoding 'UTF8' "./StandaloneSigned/PresenceLight.${{ env.VERSION }}-win.arm64.zip.sha256"
$appxHash = Get-FileHash "./ReleaseSigned/PresenceLight.Package_${{ env.VERSION }}.0_Test/PresenceLight.Package_${{ env.VERSION }}.0_x64_x86_ARM64.appxbundle" -Algorithm SHA256
$appxHash.Hash | Out-File -Encoding 'UTF8' "./ReleaseSigned/PresenceLight.Package_${{ env.VERSION }}.0_x64_x86_ARM64.appxbundle.sha256"
Expand Down
8 changes: 4 additions & 4 deletions Build/scripts/hash-files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Write-Host "Url: ${GitHubReleaseUrl}"
# Hash the Zip Files
mkdir .\Download

#https://github.com/isaacrlevin/presencelight/releases/download/Desktop-v5.6.101/PresenceLight.5.6.101-x86-zip.sha256
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-x86-zip.sha256" -OutFile ".\Download\x86-zip.sha256"
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-x64-zip.sha256" -OutFile ".\Download\x64-zip.sha256"
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-win-arm64-zip.sha256" -OutFile ".\Download\win-arm64-zip.sha256"

Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-x86.zip.sha256" -OutFile ".\Download\x86-zip.sha256"
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-x64.zip.sha256" -OutFile ".\Download\x64-zip.sha256"
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-win-arm64.zip.sha256" -OutFile ".\Download\win-arm64-zip.sha256"
$hash86 = get-content ".\Download\x86-zip.sha256"
$hash64 = get-content ".\Download\x64-zip.sha256"
$hashARM = get-content ".\Download\win-arm64-zip.sha256"
Expand Down
4 changes: 2 additions & 2 deletions Build/winget/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ if (-not $Token) {
Import-Module Appx -UseWindowsPowerShell

# Download and install C++ Runtime framework package.
$vcLibsBundleFile = "$env:TEMP\Microsoft.VCLibs.Desktop.appx"
$vcLibsBundleFile = ".\Microsoft.VCLibs.Desktop.appx"
Invoke-WebRequest https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $vcLibsBundleFile
Add-AppxPackage $vcLibsBundleFile

# Download Winget-Create msixbundle, install, and execute update.
$appxBundleFile = "$env:TEMP\wingetcreate.msixbundle"
$appxBundleFile = ".\wingetcreate.msixbundle"
Invoke-WebRequest https://aka.ms/wingetcreate/latest/msixbundle -OutFile $appxBundleFile
Add-AppxPackage $appxBundleFile

Expand Down

0 comments on commit da2715c

Please sign in to comment.