-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/anchor: add windows app manifest & icon
- Loading branch information
1 parent
8610252
commit 1441171
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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,37 @@ | ||
<?xml version='1.0' encoding='windows-1252'?> | ||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> | ||
<Product | ||
Name='{{.ProjectName}} CLI {{.RawVersion}}' | ||
Id='{{.Var.windows_product_guid}}' | ||
UpgradeCode='{{.Var.windows_upgrade_code}}' | ||
Language='1033' | ||
Codepage='1252' | ||
Version='{{.RawVersion}}' | ||
Manufacturer='Anchor Security, Inc.'> | ||
|
||
<Icon Id="icon.ico" SourceFile="als2.ico"/> | ||
<Property Id="ARPPRODUCTICON" Value="icon.ico" /> | ||
|
||
<Package | ||
Id='*' | ||
Comments='Anchor CLI' | ||
Manufacturer='Anchor Security, Inc.' | ||
InstallerVersion='{{.Var.windows_installer_version}}' | ||
Compressed='yes' | ||
/> | ||
<MediaTemplate EmbedCab="yes" /> | ||
|
||
<Directory Id='TARGETDIR' Name='SourceDir'> | ||
<Directory Id='ProgramFiles{{ if eq .Arch "amd64" }}64{{ end }}Folder' Name='PFiles'> | ||
<Directory Id='INSTALLDIR' Name='Anchor CLI' /> | ||
</Directory> | ||
</Directory> | ||
|
||
<Feature Id='Complete'> | ||
<Component Id='MainExecutable' Directory='INSTALLDIR'> | ||
<File Id='{{.Binary}}.exe' Name='{{.Binary}}.exe' Source='{{.Binary}}.exe' KeyPath='yes'/> | ||
<!-- <Environment Id='PATH' Name='PATH' Value='[INSTALLDIR]' Permanent='no' Part='last' Action='set' System='yes'/> --> | ||
</Component> | ||
</Feature> | ||
</Product> | ||
</Wix> |