Skip to content

Commit

Permalink
fix for broken install path
Browse files Browse the repository at this point in the history
  • Loading branch information
goedertw authored Feb 17, 2018
1 parent f674762 commit 4c7c693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miktex.portable/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Function Get-RedirectedUrl {
}
}

$url = Get-RedirectedURL http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable-{{PackageVersion}}.exe
$url = Get-RedirectedURL http://mirrors.ctan.org/systems/win32/miktex/setup/windows-x86/miktex-portable-{{PackageVersion}}.exe

$packageArgs = @{
packageName = $packageName
Expand Down Expand Up @@ -45,4 +45,4 @@ $targetPath = Join-Path $targetPath 'install'
$targetPath = Join-Path $targetPath 'miktex'
$targetPath = Join-Path $targetPath 'bin'
$targetPath = Join-Path $targetPath 'miktex-taskbar-icon.exe'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath

0 comments on commit 4c7c693

Please sign in to comment.