Skip to content

Commit ead6df2

Browse files
authored
Merge pull request #24 from microsoft/users/fbonacci/fix-office-mirror
Fix broken mirror and py alias
2 parents d1c5796 + b09733a commit ead6df2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/win-arena-container/vm/setup/setup.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ if (-not $pythonExecutablePath) {
5353
} else {
5454
Write-Host "Installing Python for current user..."
5555
Start-Process -FilePath $pythonInstallerFilePath -Args "/quiet InstallAllUsers=0 PrependPath=0" -NoNewWindow -Wait
56-
$pythonExecutablePath = Get-ChildItem -Path $userPythonPath -Filter python.exe -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName
57-
56+
$pythonExecutablePath = "$userPythonPath\Python310\python.exe"
5857
$setAliasExpression = "Set-Alias -Name $pythonAlias -Value `"$pythonExecutablePath`""
5958
Add-Content -Path $PROFILE -Value $setAliasExpression
60-
Invoke-Expression $setAliasExpression
59+
Invoke-Expression $setAliasExpression
6160
}
6261
}
6362

src/win-arena-container/vm/setup/tools_config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
},
2929
"LibreOffice": {
3030
"mirrors": [
31-
"https://mirrors.iu13.net/tdf/libreoffice/stable/24.2.5/win/x86_64/LibreOffice_24.2.5_Win_x86-64.msi",
32-
"https://download.documentfoundation.org/libreoffice/stable/24.2.5/win/x86_64/LibreOffice_24.2.5_Win_x86-64.msi",
33-
"https://mirror.raiolanetworks.com/tdf/libreoffice/_testing_/24.2.5/win/x86_64/LibreOffice_24.2.5.2_Win_x86-64.msi"
31+
"https://mirror.raiolanetworks.com/tdf/libreoffice/stable/24.8.2/win/x86_64/LibreOffice_24.8.2_Win_x86-64.msi",
32+
"https://mirrors.iu13.net/tdf/libreoffice/stable/24.8.2/win/x86_64/LibreOffice_24.8.2_Win_x86-64.msi",
33+
"https://download.documentfoundation.org/libreoffice/stable/24.8.2/win/x86_64/LibreOffice_24.8.2_Win_x86-64.msi"
3434
]
3535
},
3636
"VLC": {

0 commit comments

Comments
 (0)