-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b26534b
commit b929c6d
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>glazewm</id> | ||
<version>3.1.0</version> | ||
<description>GlazeWM is a tiling window manager for Windows inspired by i3wm. </description> | ||
<authors>glzr-io</authors> | ||
<projectUrl>https://github.com/glzr-io/glazewm</projectUrl> | ||
<license type="file">LICENSE.md</license> | ||
<readme>README.md</readme> | ||
<icon>icon.ico</icon> | ||
<tags>glazewm window-manager</tags> | ||
</metadata> | ||
<files> | ||
<file src="LICENSE.md" target="" /> | ||
<file src="README.md" target="" /> | ||
<file src="resources/assets/icon.ico" target="" /> | ||
<file src="tools\*" target="tools" /> | ||
<file src="out/installer-universal.exe" target="tools\installer-universal.exe" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$ErrorActionPreference = 'Stop'; # stop on all errors | ||
|
||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | ||
$installerLocation = Join-Path $toolsDir 'installer-universal.exe' | ||
|
||
$packageArgs = @{ | ||
packageName = $packageName | ||
fileType = 'exe' | ||
file = $installerLocation | ||
silentArgs = "/qn /norestart" | ||
validExitCodes = @(0, 3010, 1641) | ||
softwareName = 'GlazeWM' | ||
} | ||
|
||
Install-ChocolateyInstallPackage @packageArgs |