Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
cefc320
Fix slow MSI package installations in Windows Sandbox (#340671)
kris6673 Mar 27, 2026
9e0cad6
New version: TheDocumentFoundation.LibreOffice.SDK version 26.2.2.2 (…
spectopo Mar 27, 2026
5ad7ee8
New version: yukimemi.shun version 3.7.2 (#352606)
yukimemi Mar 27, 2026
80472bf
New version: ReversingLabs.SAFEViewer version 1.5.8 (#352609)
tpericin Mar 27, 2026
fa1e665
New version: RedHat.Podman-Desktop version 1.26.2 (#352610)
podman-desktop-bot Mar 27, 2026
ffdef1c
New version: DeterminedAI.CLI version 0.37.0 (#352931)
pl4nty Mar 27, 2026
adfbfbf
New version: FarManager.FarManager version 3.0.6666 (#352968)
TheEragon Mar 27, 2026
50eff16
New version: Hitalin.NoteDeck version 0.8.17 (#352979)
hitalin Mar 27, 2026
b8b4793
New version: Hitalin.NoteDeck version 0.8.18 (#352980)
hitalin Mar 27, 2026
f397cb4
New version: GitHub.cli version 2.89.0 (#352608)
UnownBot Mar 27, 2026
510a45a
New version: SST.OpenCodeDesktop version 1.3.3 (#352612)
UnownBot Mar 27, 2026
2d53fde
New version: BitSum.ProcessLasso.Beta version 18.0.0.49 (#352983)
spectopo Mar 27, 2026
2ffe41e
New version: ClawWork.ClawWork version 0.0.13 (#352984)
spectopo Mar 27, 2026
4ced38a
New version: codexu.NoteGen version 0.27.4 (#352985)
spectopo Mar 27, 2026
a1f9bac
New version: MicroDicom.DICOMViewer version 2026.1 (#352989)
spectopo Mar 27, 2026
ca919fe
New version: TandemHealth.Tandem version 2026.3.27 (2026.3.27-build48…
spectopo Mar 27, 2026
3ffbd8b
New version: VidJuice.UniTube version 7.5.2 (#352995)
spectopo Mar 27, 2026
454ee11
New version: yetone.OpenAITranslator version 0.6.13 (#352997)
spectopo Mar 27, 2026
f2cb47a
New package: Fanis.ClaudeCodeSwitcher version 0.3.0 (#348690)
fanis Mar 27, 2026
16d248b
keathmilligan.unfk version 1.3.0 (#348693)
keathmilligan Mar 27, 2026
7f18b17
New package: BaldBeardedBuilder.WeatherforCommandPalette version 1.0.…
michaeljolley Mar 27, 2026
ff51da8
New version: Brave.Brave.Nightly version 146.1.90.72 (#352619)
spectopo Mar 27, 2026
025bc79
Fix LeiGod.LeiGodAcc InstallerType error. (#352974)
leic4u Mar 27, 2026
770eb7f
New version: Termius.Termius.Beta version 9.37.6 (#352994)
spectopo Mar 27, 2026
e70b917
New version: Wasmer.Wasmer version 7.1.0 (#352996)
spectopo Mar 27, 2026
2ff61f4
New version: RioArisk.CodexManager version 0.1.6 (#353006)
spectopo Mar 27, 2026
088d91c
New version: cclavin.pios 1.0.0 (#350899)
cclavin Mar 27, 2026
36603fa
Add Giancan.AutoGRToolkit version 6.0.0 (#346568)
giancan Mar 27, 2026
9d3c8b7
New package: rishiyaduwanshi.boiler version 0.3.0 (#350875)
rishiyaduwanshi Mar 27, 2026
a378256
New version: yukimemi.shun version 3.7.3 (#352981)
yukimemi Mar 27, 2026
0be7722
New version: deanxv.DoneHub version 1.20.39 (#353000)
spectopo Mar 27, 2026
c1898f3
New version: Psyche.Kelivo version 1.1.9+27 (#353013)
spectopo Mar 27, 2026
3adcb3e
New version: PixPin.PixPin version 3.0.8.0 (#352965)
spectopo Mar 27, 2026
9b5d8ca
New version: Hitalin.NoteDeck version 0.8.19 (#353018)
hitalin Mar 27, 2026
b138f92
New version: NetworkOptix.NxWitness.Bundle version 6.1.1.42624 (#350255)
spectopo Mar 27, 2026
bad6548
New version: Microsoft.XMLNotepad version 2.9.0.19 (#353004)
LorenzCoder Mar 27, 2026
33dcf92
New package: QElectroTech.QElectroTech version 0.100.0 (#352481)
mrwsl Mar 27, 2026
4793fef
New package: OpenDsc resources 0.5.1 (#352888)
Gijsreyn Mar 27, 2026
36acc09
GitHub.Copilot.Prerelease version v1.0.13-0 (#352998)
copilot-cli-winget-bot Mar 27, 2026
77d1b64
New version: PerryTS.Perry version 0.4.24 (#353016)
proggeramlug Mar 27, 2026
0032228
New package: Google.WorkspaceCLI version 0.22.1 (#352677)
UnownPlain Mar 27, 2026
0b57f07
New package: Danfoss.MyDrive.Insight version 2.20.0 (#352307)
Dragon1573 Mar 27, 2026
26e600f
New version: hellodigua.ChatLab version 0.14.0 (#353023)
spectopo Mar 27, 2026
2038c34
New version: leezer3.OpenBVE version 1.12.1.2 (#353024)
spectopo Mar 27, 2026
e5d7a4f
New package: frequency403.OpenSSHGUI version 3.0.1 (#351444)
frequency403 Mar 27, 2026
87dead2
MobiSystems.MobiOffice version 11.40.15329.0 (#351198)
mobisystems-winget Mar 27, 2026
27156b0
New version: ImageMagick.Q16-HDRI version 7.1.2.18 (#350961)
dlemstra Mar 27, 2026
064dd91
New package: Cfx.re.RedM version 2.0.0.6775 (#350799)
agnosdesigner Mar 27, 2026
f6d3707
New package: Cfx.re.FiveM version 2.0.0.25776 (#350793)
agnosdesigner Mar 27, 2026
83a5d62
New package: sibexico.Trusty version 0.4.2 (#349882)
sibexico Mar 27, 2026
15f86c8
New version: ImageMagick.Q16 version 7.1.2.18 (#350962)
dlemstra Mar 27, 2026
83f9331
New version: ImageMagick.Q8 version 7.1.2.18 (#350963)
dlemstra Mar 27, 2026
156f49c
Remove version: WHONET.AMRIE version v26.3.26 (#352865)
drshtmstry Mar 27, 2026
7cba029
New version: Folge.Folge version 1.32.0 (#353010)
spectopo Mar 27, 2026
611f9fd
New version: MySolutionsNORDIC.NSClient++ version 0.11.26.0 (0.11.26)…
spectopo Mar 27, 2026
573e3e8
New version: argoproj.argocd version 3.3.6 (#353020)
damn-good-b0t Mar 27, 2026
d73a5d1
New version: MoonshotAI.KimiCLI version 1.27.0 (#353026)
spectopo Mar 27, 2026
141a73f
New version: dandavison.delta version 0.19.0 (#352124)
Dragon1573 Mar 27, 2026
d68aa46
New version: ColonyLabs.ScribeDesktopCapture version 6.3.25.0 (#353037)
spectopo Mar 27, 2026
5d55458
New version: GordonBeeming.CopilotHere version 2026.03.22.463 (#351245)
GordonBeeming Mar 27, 2026
d315dba
New version: GordonBeeming.CopilotHere version 2026.03.22.465 (#351250)
GordonBeeming Mar 27, 2026
a8a01e4
New version: Hitalin.NoteDeck version 0.8.20 (#353038)
hitalin Mar 27, 2026
777b714
ElectronicArts.EADesktop version 13.671.0.6184 (#353001)
LorenzCoder Mar 27, 2026
6e56f68
New version: IntegrIT.Hackolade version 8.10.0 (#353039)
spectopo Mar 27, 2026
26130ac
New package: gamigo.WildTangentGamesApp version 4.1.1.137 (#350874)
Dragon1573 Mar 27, 2026
aabe9c1
New version: Unibo.Alchemist version 43.0.23 (#352573)
DanySK Mar 27, 2026
134feef
New version: Mixxx.Mixxx version 2.5.6 (#353041)
spectopo Mar 27, 2026
b7862ed
Remove version: RustDesk.RustDesk version 1.4.1 (#352095)
Dragon1573 Mar 27, 2026
de26f23
Remove: CrashPlan.CrashPlan version 11.9.0.507 (#350707)
SpecterShell Mar 27, 2026
2916062
Remove version: JetBrains.QodanaCLI version 2025.3.3 (#351158)
Dragon1573 Mar 27, 2026
042ece8
Remove version: RoyalApps.RoyalTS.7 version 7.4.50306.0 (#351202)
Dragon1573 Mar 27, 2026
51d1b05
ReceitaFederaldoBrasil.SpedFiscalICMSIPI version 6.0.3 (#352293)
santiagobiali Mar 27, 2026
3fcab03
New version: JetBrains.PhpStorm version 2026.1 (#352623)
spectopo Mar 27, 2026
4e4f644
New version: NoMachine.NoMachine.EnterpriseDesktop version 9.4.14 (9.…
spectopo Mar 27, 2026
ba81759
New version: RubyInstallerTeam.RubyWithDevKit.3.3 version 3.3.11-1 (#…
spectopo Mar 27, 2026
ef6b90a
New version: alejoborbo.jj-spice 0.2.2 (#353034)
alejoborbo Mar 27, 2026
1c51266
New version: OpenWhisperSystems.Signal.Beta version 8.5.0-beta.2 (#35…
UnownBot Mar 27, 2026
2636c7f
New package: peterandree.BTChargeTrayWatcher version 1.0.0.0 (#352291)
peterandree Mar 27, 2026
93a920a
Fix InstallerSwitches error (#353045)
leic4u Mar 27, 2026
a21242f
New package: Axure.AxureRP.9 version 9.0.0.3754 (#351712)
leic4u Mar 27, 2026
60e24b2
New package: lupeydev.cgedownload version 1.0.0.0 (#351775)
Lupeydev Mar 27, 2026
a593b7a
New version: SST.opencode version 1.3.3 (#352637)
spectopo Mar 27, 2026
43568f5
New version: JetBrains.Gateway version 2026.1 (#352987)
spectopo Mar 27, 2026
cfc015b
New version: Discord.Discord.Canary version 1.0.885 (#353052)
spectopo Mar 27, 2026
d3453a7
New version: OpenDataLab.MinerU version 0.13.1 (#353056)
spectopo Mar 27, 2026
aa064e3
New version: SatoshiLabs.trezor-suite version 26.3.3 (#353057)
UnownBot Mar 27, 2026
2e1d845
New package: qarmin.krokiet version 11.0.1 (#349094)
EriusCalrissian Mar 27, 2026
5201bbb
New package: bit5hift.sshm-rs version 0.2.0 (#351961)
bit5hift Mar 27, 2026
df34060
New version: Brave.Brave.Nightly version 147.1.90.77 (#352999)
spectopo Mar 27, 2026
9bb35d6
New package: OpenDsc.Lcm version 0.5.1 (#352889)
Gijsreyn Mar 27, 2026
d109c3b
New version: Amazon.AWSCLI version 2.34.19 (#353048)
spectopo Mar 27, 2026
d4203ee
New version: Atuinsh.Atuin version 18.13.6 (#353054)
ltrzesniewski Mar 27, 2026
7a5f8c5
New package: GamePP.GamePPLite version 6.1.41.120 (#351707)
leic4u Mar 27, 2026
4d23087
New version: axpnet.AeroFTP version 3.1.5 (#353061)
axpnet Mar 27, 2026
281f1cf
New version: GiantPinkRobots.Varia version 2026.3.27 (#353064)
kris6673 Mar 27, 2026
a47cf03
New package: OpenDsc.Resources.Portable version 0.5.1 (#352891)
Gijsreyn Mar 27, 2026
7ba85b1
New package: TONresistor.TONBrowser version 1.5.3 (#352395)
TONresistor Mar 27, 2026
a8221ed
New package: jawhitti.INTERCAL64 version 2.0.0 (#352372)
jawhitti Mar 27, 2026
5caa1ee
New version: Microsoft.Teams.Free version 26072.401.4488.5256 (#353005)
spectopo Mar 27, 2026
bae169e
New version: JetBrains.dotPeek version 2025.3.4 (#353062)
UnownPlain Mar 27, 2026
2bb770e
New version: KDE.Filelight version 26.03.90 (26.04-2056) (#353066)
spectopo Mar 27, 2026
e5f2bc6
New package: QQ.RobloxStudioCN version 1.6.2.7020633 (#352893)
upintheairsheep Mar 27, 2026
300d7a0
GitHub.Copilot.Prerelease version v1.0.13-1 (#353071)
copilot-cli-winget-bot Mar 27, 2026
604ee8e
New package: 1sj.rrysj version 3.1.4 (#352292)
leic4u Mar 27, 2026
13f5c13
New package: rizukirr.Muslimtify version 0.2.0 (#352896)
rizukirr Mar 27, 2026
ba73852
New version: Microsoft.XMLNotepad version 2.9.0.20 (#353079)
spectopo Mar 27, 2026
f8f23e0
New version: RubyInstallerTeam.Ruby.3.2 version 3.2.11-1 (#353081)
spectopo Mar 27, 2026
1b6c04c
TfsCmdlets_2.10.0+4172.10 (#353072)
igoravl Mar 27, 2026
4582298
New package: Orthogonal.APM version 0.1.0 (#348892)
atlamors Mar 27, 2026
94281c4
New package: Ciphra.Ciphra version 0.1.1 (#353032)
miangee21 Mar 27, 2026
54a8985
ReceitaFederaldoBrasil.ReceitanetBX version 1.9.26 (#353040)
santiagobiali Mar 27, 2026
f997f29
New version: ChiaNetwork.GUIforChiaBlockchain version 2.7.0 (#352778)
damn-good-b0t Mar 27, 2026
91fa768
New package: GamePP.GamePP version 5.6.28.119 (#351706)
leic4u Mar 27, 2026
524ad6e
Add version: Google.FirebaseCLI version 15.12.0 (#353073)
damn-good-b0t Mar 27, 2026
15f276b
New version: libjpeg-turbo.libjpeg-turbo.GCC version 3.1.4.1 (#353076)
spectopo Mar 27, 2026
257aeab
New version: LuisPater.CLIProxyAPI version 6.9.4 (#353078)
spectopo Mar 27, 2026
69bf484
New version: matchmycolor.ColibriBeta version 26.1.0.16449 (#353080)
matchmycolor Mar 27, 2026
7646ee4
New package: Microsoft.MediaCreationTool.Windows10 version 22H2 (#353…
byGOG Mar 27, 2026
5981a35
New package: FxSound.FxSound.Beta version 1.2.8.0 (#353031)
Dragon1573 Mar 27, 2026
b506fc3
New version: WinsiderSS.SystemInformer.Canary version 4.0.26085.2356 …
jxy-s Mar 27, 2026
d2b35aa
New version: DifferentAI.OpenWork version 0.11.195 (#353086)
spectopo Mar 27, 2026
fd47056
New version: ViRb3.wgcf version 2.2.30 (#352645)
sitiom Mar 28, 2026
221aa8c
New version: BioSilico.EssayWriter version 4.2.0009 (4.2.9) (#352650)
spectopo Mar 28, 2026
e9ea13c
Update willibrandon.dotsider-mcp to 0.7.0 (#353036)
willibrandon Mar 28, 2026
ed987cb
New version: Livebook.Livebook version 0.19.6 (#353063)
kris6673 Mar 28, 2026
88321ec
New version: MoeruAI.AIRI version 0.9.0-alpha.28 (#353068)
spectopo Mar 28, 2026
e1dc101
New version: libjpeg-turbo.libjpeg-turbo.VC version 3.1.4.1 (#353077)
spectopo Mar 28, 2026
d4a867a
New version: IDMComputerSolutions,Inc.UltraEdit version 32.2.0.21 (#3…
PckgrBot Mar 28, 2026
6ed3d30
New version: matchmycolor.ColibriAlpha version 26.2.0.16741 (#353090)
matchmycolor Mar 28, 2026
84b5dde
New version: flick9000.WinScript version 2.1.4 (#353094)
flick9000 Mar 28, 2026
1a2e250
New version: astral-sh.ty version 0.0.26 (#352654)
UnownBot Mar 28, 2026
8be9ecb
New version: TheInferenceGrid.grid version 0.3.5 (#352810)
ibbytheboss Mar 28, 2026
d33b5ae
New version: ElementLabs.LMStudio version 0.4.8+1 (0.4.8-1) (#352819)
spectopo Mar 28, 2026
dc65ff6
New version: Microsoft.Edge version 146.0.3856.84 (#352830)
PckgrBot Mar 28, 2026
2687662
New version: RightNow-AI.OpenFang version 0.5.3 (#352852)
spectopo Mar 28, 2026
9371689
New version: VSCodium.VSCodium.Insiders version 1.112.02066 (#352864)
daiyam Mar 28, 2026
2c5a25f
New version: ByteDance.Doubao version 2.4.7 (#352868)
spectopo Mar 28, 2026
92952cd
New version: Anthropic.Claude version 1.1.9134 (#352879)
spectopo Mar 28, 2026
def5b2e
New version: ctron.oidc version 0.7.2 (#352903)
ctron Mar 28, 2026
01f8001
Update Netron to 8.9.7 (#352904)
lutzroeder Mar 28, 2026
67edcd8
New version: XiaoYouChR.GhostDownloader version 3.8.1 (#353033)
i0ntempest Mar 28, 2026
a89658c
New version: JordanCoin.codemap 4.1.2 (#353093)
JordanCoin Mar 28, 2026
0545f36
Update: Servo.Servo.Nightly version 1.0 (2026-03-27) (#353098)
spectopo Mar 28, 2026
795335a
Fix: AMD.LemonadeServer version 10.0.1 (#352419)
SpecterShell Mar 28, 2026
b76d8db
ReleaseNotes: Amazon.SSMAgent version 3.3.4108.0 (#352428)
SpecterShell Mar 28, 2026
925c722
New version: Google.Chrome.Dev version 148.0.7753.0 (#352668)
spectopo Mar 28, 2026
9deca7e
New version: LinuxContainers.Incus version 6.23.0 (#352905)
kris6673 Mar 28, 2026
383ac92
New version: AppByTroye.KoodoReader version 2.3.1 (#352916)
spectopo Mar 28, 2026
7b64544
New version: Zen-Team.Zen-Browser version 1.19.4b (#352923)
UnownBot Mar 28, 2026
72b47f4
New version: D2L.BMX version 3.2.1 (#352925)
pl4nty Mar 28, 2026
e3c73cf
New version: ahmetb.kubens version 0.11.0 (#352926)
pl4nty Mar 28, 2026
67ab155
New version: Discord.Discord.Canary.arm64 version 1.0.215 (#352941)
spectopo Mar 28, 2026
e9ee7bb
New version: Posit.RStudio version 2026.01.2+418 (#353096)
spectopo Mar 28, 2026
214be11
New version: mostlygeek.llama-swap version 199 (#353100)
Dvd-Znf Mar 28, 2026
47488bb
New version: mikf.gallery-dl.Nightly version 2026.03.27 (#353101)
Dvd-Znf Mar 28, 2026
adbea55
New version: vim.vim.nightly version 9.2.0261 (#353102)
chrisbra Mar 28, 2026
b955f41
Update: KDE.Blinken version 26.07.70 (762) (#352406)
spectopo Mar 28, 2026
fcea54b
New version: EQAditu.AdvancedCombatTracker version 3.8.5.288 (#352929)
pl4nty Mar 28, 2026
35457a1
New version: Dropbox.Dropbox version 246.3.3482 (#353107)
PckgrBot Mar 28, 2026
35d3ce1
Modify: IObit.SmartDefrag version 11.2.0.472 (#353109)
KarbitsCode Mar 28, 2026
f17766c
New version: thechandanbhagat.alter version 0.8.0 (#353110)
thechandanbhagat Mar 28, 2026
7c3a9ae
VovSoft.ClipboardReader version 1.4.0.0 (#353115)
KarbitsCode Mar 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 41 additions & 40 deletions Tools/SandboxTest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
###

[CmdletBinding()]
Param(
param(
# Manifest
[Parameter(Position = 0, HelpMessage = 'The Manifest to install in the Sandbox.')]
[ValidateScript({
if (-Not (Test-Path -Path $_)) { throw "$_ does not exist" }
if (-not (Test-Path -Path $_)) { throw "$_ does not exist" }
return $true
})]
[String] $Manifest,
Expand All @@ -22,7 +22,7 @@ Param(
# MapFolder
[Parameter(HelpMessage = 'The folder to map in the Sandbox.')]
[ValidateScript({
if (-Not (Test-Path -Path $_ -PathType Container)) { throw "$_ is not a folder." }
if (-not (Test-Path -Path $_ -PathType Container)) { throw "$_ is not a folder." }
return $true
})]
[String] $MapFolder = $pwd,
Expand Down Expand Up @@ -165,7 +165,7 @@ function Initialize-Folder {
####
function Get-Release {
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '',
Justification='The standard workflow that users use with other applications requires the use of plaintext GitHub Access Tokens')]
Justification = 'The standard workflow that users use with other applications requires the use of plaintext GitHub Access Tokens')]

param (
[Parameter()]
Expand All @@ -183,8 +183,7 @@ function Get-Release {
Write-Verbose 'Adding Bearer Token Authentication to Releases API Request'
$requestParameters.Add('Authentication', 'Bearer')
$requestParameters.Add('Token', $(ConvertTo-SecureString $GitHubToken -AsPlainText))
}
else {
} else {
# No token was provided or the token has expired
# If an invalid token was provided, an exception will have been thrown before this code is reached
Write-Warning @"
Expand Down Expand Up @@ -243,8 +242,7 @@ function Get-RemoteContent {
try {
$downloadTask = $script:HttpClient.GetByteArrayAsync($URL)
[System.IO.File]::WriteAllBytes($localfile.FullName, $downloadTask.Result)
}
catch {
} catch {
# If the download fails, write a zero-byte file anyways
$null | Out-File $localFile.FullName
}
Expand Down Expand Up @@ -347,7 +345,7 @@ function Test-FileChecksum {
####
function Test-GithubToken {
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '',
Justification='The standard workflow that users use with other applications requires the use of plaintext GitHub Access Tokens')]
Justification = 'The standard workflow that users use with other applications requires the use of plaintext GitHub Access Tokens')]

param (
[Parameter(Mandatory = $true)]
Expand Down Expand Up @@ -403,7 +401,7 @@ function Test-GithubToken {
$tokenExpirationDays = [Math]::Round($tokenExpirationDays, 2) # We don't need all the precision the system provides

if ($cachedExpirationForParsing -eq [System.DateTime]::MaxValue.ToLongDateString().Trim()) {
Write-Verbose "The cached token contained content. It is set to never expire"
Write-Verbose 'The cached token contained content. It is set to never expire'
return $true
}

Expand All @@ -416,21 +414,18 @@ function Test-GithubToken {
Write-Verbose 'The cached token contained content, but it could not be parsed as a date. It will be re-validated'
Invoke-FileCleanup -FilePaths $cachedToken.FullName
# Do not return anything, since the token will need to be re-validated
}
else {
} else {
Write-Verbose "The cached token contained content, but the token expired $([Math]::Abs($tokenExpirationDays)) days ago"
# Leave the cached token so that it doesn't throw script exceptions in the future
# Invoke-FileCleanup -FilePaths $cachedToken.FullName
return $false
}
}
else {
} else {
# Either the token was empty, or the cached token is expired. Remove the cached token so that re-validation
# of the token will update the date the token was cached if it is still valid
Invoke-FileCleanup -FilePaths $cachedToken.FullName
}
}
else {
} else {
Write-Verbose 'Token was not found in the cache'
}

Expand Down Expand Up @@ -458,18 +453,18 @@ function Test-GithubToken {
Write-Verbose 'Token validated successfully. Adding to cache'
# Trim off any non-digit characters from the end
# Strip off the array wrapper since it is no longer needed
$tokenExpiration = $tokenExpiration[0] -replace '[^0-9]+$',''
$tokenExpiration = $tokenExpiration[0] -replace '[^0-9]+$', ''
# If the token doesn't expire, write a special value to the file
if (!$tokenExpiration -or [string]::IsNullOrWhiteSpace($tokenExpiration)) {
Write-Debug "Token expiration was empty, setting it to maximum"
Write-Debug 'Token expiration was empty, setting it to maximum'
$tokenExpiration = [System.DateTime]::MaxValue
}
# Try parsing the value to a datetime before storing it
if ([DateTime]::TryParse($tokenExpiration,[ref]$tokenExpiration)) {
if ([DateTime]::TryParse($tokenExpiration, [ref]$tokenExpiration)) {
Write-Debug "Token expiration successfully parsed as DateTime ($tokenExpiration)"
} else {
# TryParse Failed
Write-Warning "Could not parse expiration date as a DateTime object. It will be set to the minimum value"
Write-Warning 'Could not parse expiration date as a DateTime object. It will be set to the minimum value'
$tokenExpiration = [System.DateTime]::MinValue
}
# Explicitly convert to a string here to avoid implicit casting
Expand All @@ -483,7 +478,7 @@ function Test-GithubToken {
#### Start of main script ####

# Check if Windows Sandbox is enabled
if (-Not (Get-Command 'WindowsSandbox' -ErrorAction SilentlyContinue)) {
if (-not (Get-Command 'WindowsSandbox' -ErrorAction SilentlyContinue)) {
Write-Error -ErrorAction Continue -Category NotInstalled -Message @'
Windows Sandbox does not seem to be available. Check the following URL for prerequisites and further details:
https://docs.microsoft.com/windows/security/threat-protection/windows-sandbox/windows-sandbox-overview
Expand All @@ -501,20 +496,20 @@ if (!$SkipManifestValidation -and ![String]::IsNullOrWhiteSpace($Manifest)) {
Write-Error -Category NotInstalled 'WinGet is not installed. Manifest cannot be validated' -ErrorAction Continue
Invoke-CleanExit -ExitCode 3
}
Write-Information "--> Validating Manifest"
Write-Information '--> Validating Manifest'
$validateCommandOutput =
& {
# Store current output encoding setting
$prevOutEnc = [Console]::OutputEncoding
# Set [Console]::OutputEncoding to UTF-8 since winget uses UTF-8 for output
[Console]::OutputEncoding = $OutputEncoding = [System.Text.Utf8Encoding]::new()
& {
# Store current output encoding setting
$prevOutEnc = [Console]::OutputEncoding
# Set [Console]::OutputEncoding to UTF-8 since winget uses UTF-8 for output
[Console]::OutputEncoding = $OutputEncoding = [System.Text.Utf8Encoding]::new()

winget.exe validate $Manifest
winget.exe validate $Manifest

# Reset the encoding to the previous values
[Console]::OutputEncoding = $prevOutEnc
}
switch ($LASTEXITCODE) {
# Reset the encoding to the previous values
[Console]::OutputEncoding = $prevOutEnc
}
switch ($LASTEXITCODE) {
'-1978335191' {
# Skip the first line and the empty last line
$validateCommandOutput | Select-Object -Skip 1 -SkipLast 1 | ForEach-Object {
Expand All @@ -532,7 +527,7 @@ if (!$SkipManifestValidation -and ![String]::IsNullOrWhiteSpace($Manifest)) {
Write-Warning 'Manifest validation succeeded with warnings'
Start-Sleep -Seconds 5 # Allow the user 5 seconds to read the warnings before moving on
}
Default {
default {
Write-Information $validateCommandOutput.Trim() # On the success, print an empty line after the command output
}
}
Expand Down Expand Up @@ -595,8 +590,7 @@ if ($script:AppInstallerParsedVersion -ge [System.Version]'1.9.25180') {
Algorithm = 'SHA256'
SaveTo = (Join-Path -Path $script:AppInstallerReleaseAssetsFolder -ChildPath $script:DependenciesZipFileName)
}
}
else {
} else {
$script:DependencySource = [DependencySources]::Legacy
# Add the VCLibs to the dependencies
Write-Debug 'Adding VCLibs UWP to dependency list'
Expand Down Expand Up @@ -626,8 +620,7 @@ else {
Algorithm = 'SHA256'
SaveTo = (Join-Path -Path $script:DependenciesCacheFolder -ChildPath 'Microsoft.UI.Xaml.2.7.x64.appx')
}
}
else {
} else {
# Add Xaml 2.8 to the dependencies
Write-Debug 'Adding Microsoft.UI.Xaml (v2.8) to dependency list'
$script:AppInstallerDependencies += @{
Expand Down Expand Up @@ -712,7 +705,7 @@ $script:SandboxWinGetSettings | ConvertTo-Json | Out-File -FilePath (Join-Path -
foreach ($dependency in $script:AppInstallerDependencies) { Copy-Item -Path $dependency.SaveTo -Destination $script:TestDataFolder -ErrorAction SilentlyContinue }

# Create a script file from the script parameter
if (-Not [String]::IsNullOrWhiteSpace($Script)) {
if (-not [String]::IsNullOrWhiteSpace($Script)) {
Write-Verbose "Creating script file from 'Script' argument"
$Script | Out-File -Path (Join-Path $script:TestDataFolder -ChildPath 'BoundParameterScript.ps1')
}
Expand Down Expand Up @@ -779,6 +772,14 @@ Tip: you can type 'Update-EnvironmentVariables' to update your environment varia

Write-Host @'

--> Fixing slow MSI package installers
'@

reg add "HKLM\SYSTEM\CurrentControlSet\Control\CI\Policy" /v "VerifiedAndReputablePolicyState" /t REG_DWORD /d 0 /f # See: https://github.com/microsoft/Windows-Sandbox/issues/68#issuecomment-2754867968
CiTool.exe --refresh --json | Out-Null # Refreshes policy. Use json output param or else it will prompt for confirmation, even with Out-Null

Write-Host @'

--> Configuring Winget
'@
winget settings --Enable LocalManifestFiles
Expand Down Expand Up @@ -860,15 +861,15 @@ Write-Information @"
- Configuring Winget
"@

if (-Not [String]::IsNullOrWhiteSpace($Manifest)) {
if (-not [String]::IsNullOrWhiteSpace($Manifest)) {
Write-Information @"
- Installing the Manifest $(Split-Path $Manifest -Leaf)
- Refreshing environment variables
- Comparing ARP Entries
"@
}

if (-Not [String]::IsNullOrWhiteSpace($Script)) {
if (-not [String]::IsNullOrWhiteSpace($Script)) {
Write-Information @"
- Running the following script: {
$Script
Expand Down
29 changes: 29 additions & 0 deletions manifests/1/1sj/rrysj/3.1.4/1sj.rrysj.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Created with komac v2.15.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.12.0.schema.json

PackageIdentifier: 1sj.rrysj
PackageVersion: 3.1.4
InstallerType: exe
InstallModes:
- interactive
- silent
- silentWithProgress
InstallerSwitches:
Silent: /silent
SilentWithProgress: /silent
UpgradeBehavior: install
ProductCode: '{8EB86E9F-9120-43CF-9D1B-2810CD854BCD}_is1'
ReleaseDate: 2024-07-01
AppsAndFeaturesEntries:
- DisplayName: ysj 3.1.4
ProductCode: '{8EB86E9F-9120-43CF-9D1B-2810CD854BCD}_is1'
ElevationRequirement: elevatesSelf
Installers:
- Architecture: x86
InstallerUrl: https://api.1sj.tv/mainpage/downloadProgram?type=3
InstallerSha256: 10F20E104669CC1F89847449A020CFAEB487DD369853EACA43E8F4EF2596D370
- Architecture: x64
InstallerUrl: https://api.1sj.tv/mainpage/downloadProgram?type=5
InstallerSha256: 3972966C1C97B92DDCC4BCB9C2AA4CDA0BE5A37AC6AB9FB238672450BA09E11E
ManifestType: installer
ManifestVersion: 1.12.0
22 changes: 22 additions & 0 deletions manifests/1/1sj/rrysj/3.1.4/1sj.rrysj.locale.zh-CN.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Created with komac v2.15.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.12.0.schema.json

PackageIdentifier: 1sj.rrysj
PackageVersion: 3.1.4
PackageLocale: zh-CN
Publisher: 武汉译满天下科技有限公司
PublisherUrl: https://www.1sj.tv/
PublisherSupportUrl: https://www.1sj.tv/html/help/index.html
Author: RRYSJ
PackageName: 人人译视界
PackageUrl: https://www.1sj.tv/html/support/down-load.html
License: Proprietary
Copyright: Copyright © 2017-2023 武汉译满天下科技有限公司
ShortDescription: 一个省心省力的字幕编辑 + 翻译 + 视频后期制作工具
Moniker: ysj
Tags:
- encode
- subtitle
- translate
ManifestType: defaultLocale
ManifestVersion: 1.12.0
8 changes: 8 additions & 0 deletions manifests/1/1sj/rrysj/3.1.4/1sj.rrysj.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Created with komac v2.15.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.12.0.schema.json

PackageIdentifier: 1sj.rrysj
PackageVersion: 3.1.4
DefaultLocale: zh-CN
ManifestType: version
ManifestVersion: 1.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

PackageIdentifier: AMD.LemonadeServer
PackageVersion: 10.0.1
InstallerLocale: en-US
InstallerType: wix
Scope: user
InstallerSwitches:
InstallLocation: INSTALLDIR="<INSTALLPATH>"
ProductCode: '{C67B54BD-3FC7-4103-B059-2DA25B568955}'
Expand Down
25 changes: 25 additions & 0 deletions manifests/a/Amazon/AWSCLI/2.34.19/Amazon.AWSCLI.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Created with YamlCreate.ps1 Dumplings Mod
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.12.0.schema.json

PackageIdentifier: Amazon.AWSCLI
PackageVersion: 2.34.19
InstallerType: wix
Scope: machine
InstallerSwitches:
InstallLocation: AWSCLIV2="<INSTALLPATH>"
UpgradeBehavior: install
Commands:
- aws
ProductCode: '{62FB5E5F-1E70-4422-961B-16B29B2B9766}'
AppsAndFeaturesEntries:
- DisplayName: AWS Command Line Interface v2
ProductCode: '{62FB5E5F-1E70-4422-961B-16B29B2B9766}'
UpgradeCode: '{E1C1971C-384E-4D6D-8D02-F1AC48281CF8}'
InstallationMetadata:
DefaultInstallLocation: '%ProgramFiles%\Amazon\AWSCLIV2'
Installers:
- Architecture: x64
InstallerUrl: https://awscli.amazonaws.com/AWSCLIV2-2.34.19.msi
InstallerSha256: 5E42EBC023ADC0CDF852CDF036A88ABDB3F2B918EFFEAA215FFE6A78DD7B4697
ManifestType: installer
ManifestVersion: 1.12.0
28 changes: 28 additions & 0 deletions manifests/a/Amazon/AWSCLI/2.34.19/Amazon.AWSCLI.locale.en-US.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Created with YamlCreate.ps1 Dumplings Mod
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.12.0.schema.json

PackageIdentifier: Amazon.AWSCLI
PackageVersion: 2.34.19
PackageLocale: en-US
Publisher: Amazon Web Services
PublisherUrl: https://aws.amazon.com/
PublisherSupportUrl: https://github.com/aws/aws-cli/issues
PrivacyUrl: https://aws.amazon.com/privacy/
Author: Amazon Web Services, Inc
PackageName: AWS Command Line Interface
PackageUrl: https://aws.amazon.com/cli/
License: Apache-2.0
LicenseUrl: https://github.com/aws/aws-cli/blob/HEAD/LICENSE.txt
Copyright: Copyright 2012-2026 Amazon.com, Inc.
CopyrightUrl: https://aws.amazon.com/agreement/
ShortDescription: Universal Command Line Interface for Amazon Web Services
Description: The AWS Command Line Interface (AWS CLI) is an open source tool that enables you to interact with AWS services using commands in your command-line shell. With minimal configuration, the AWS CLI enables you to start running commands that implement functionality equivalent to that provided by the browser-based AWS Management Console from the command prompt in your terminal program.
Tags:
- aws
- awscli
- cli
- cloud
- s3
- web
ManifestType: defaultLocale
ManifestVersion: 1.12.0
14 changes: 14 additions & 0 deletions manifests/a/Amazon/AWSCLI/2.34.19/Amazon.AWSCLI.locale.zh-CN.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Created with YamlCreate.ps1 Dumplings Mod
# yaml-language-server: $schema=https://aka.ms/winget-manifest.locale.1.12.0.schema.json

PackageIdentifier: Amazon.AWSCLI
PackageVersion: 2.34.19
PackageLocale: zh-CN
PublisherUrl: https://aws.amazon.com/cn/
PrivacyUrl: https://aws.amazon.com/cn/privacy/
PackageUrl: https://aws.amazon.com/cn/cli/
CopyrightUrl: https://aws.amazon.com/cn/agreement/
ShortDescription: Amazon Web Services 的通用命令行界面
Description: AWS 命令行界面(AWS CLI)是一种开源工具,让您能够使用命令行 Shell 中的命令与 AWS 服务进行交互。AWS CLI 让您只需极少的配置,就能从终端程序的命令提示符中运行命令,以实施与基于浏览器的 AWS 管理控制台提供的功能等效的命令。
ManifestType: locale
ManifestVersion: 1.12.0
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Created with YamlCreate.ps1 Dumplings Mod
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.12.0.schema.json

PackageIdentifier: CrashPlan.CrashPlan
PackageVersion: 11.9.0.507
PackageIdentifier: Amazon.AWSCLI
PackageVersion: 2.34.19
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ InstallerType: burn
Scope: machine
UpgradeBehavior: install
ProductCode: '{e847e092-94a8-40a0-95c9-87544ea61c3e}'
ReleaseDate: 2026-03-23
AppsAndFeaturesEntries:
- UpgradeCode: '{D66D03A7-CA16-4C0C-B5B2-520F22AE5448}'
Installers:
Expand Down
Loading
Loading