Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
Fix chocolatey package
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Holub authored and Oleksii Holub committed Apr 9, 2019
1 parent 79af7c8 commit 1dca3a5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Deploy/Choco/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
$ErrorActionPreference = 'Stop';
$ErrorActionPreference = 'Stop'
$packageName = $env:ChocolateyPackageName
$installDirPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

# Install package
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
packageName = $packageName
unzipLocation = $installDirPath
url = 'https://github.com/Tyrrrz/OsuHelper/releases/download/2.0.2/osu.helper.zip'
}
Install-ChocolateyZipPackage @packageArgs

# Mark the executable as GUI
New-Item (Join-Path unzipLocation "osu!helper.exe.gui") -ItemType File -Force
New-Item (Join-Path $installDirPath "osu!helper.exe.gui") -ItemType File -Force

0 comments on commit 1dca3a5

Please sign in to comment.