aboutsummaryrefslogtreecommitdiff
path: root/chocolatey
diff options
context:
space:
mode:
authorGravatar Pouar <pouar@pouar.net>2019-02-10 21:01:13 -0600
committerGravatar Pouar <pouar@pouar.net>2019-02-10 21:01:13 -0600
commitcb8f4ac73788d48e20aecb5e32f7f9f270ff1140 (patch)
tree3ef84b83f3916dcfcab96a0dfc43901f3cb2c4ba /chocolatey
parentlet's try this again (diff)
add shortcuts
Diffstat (limited to 'chocolatey')
-rw-r--r--chocolatey/icon.icobin0 -> 23516 bytes
-rw-r--r--chocolatey/tools/chocolateyInstall.ps11
-rw-r--r--chocolatey/tools/chocolateyUninstall.ps11
-rw-r--r--chocolatey/yadfa.nuspec2
4 files changed, 4 insertions, 0 deletions
diff --git a/chocolatey/icon.ico b/chocolatey/icon.ico
new file mode 100644
index 0000000..e3d89c6
--- /dev/null
+++ b/chocolatey/icon.ico
Binary files differ
diff --git a/chocolatey/tools/chocolateyInstall.ps1 b/chocolatey/tools/chocolateyInstall.ps1
new file mode 100644
index 0000000..8fdfeda
--- /dev/null
+++ b/chocolatey/tools/chocolateyInstall.ps1
@@ -0,0 +1 @@
+Install-ChocolateyShortcut -IconLocation $env:ChocolateyPackageFolder'\yadfa\icon.ico' -ShortcutFilePath $env:ProgramData'\Microsoft\Windows\Start Menu\Programs\yadfa.lnk' -TargetPath $env:ChocolateyPackageFolder'/yadfa/yadfa.exe' \ No newline at end of file
diff --git a/chocolatey/tools/chocolateyUninstall.ps1 b/chocolatey/tools/chocolateyUninstall.ps1
new file mode 100644
index 0000000..8239025
--- /dev/null
+++ b/chocolatey/tools/chocolateyUninstall.ps1
@@ -0,0 +1 @@
+Remove-Item $env:ProgramData'\Microsoft\Windows\Start Menu\Programs\yadfa.lnk' \ No newline at end of file
diff --git a/chocolatey/yadfa.nuspec b/chocolatey/yadfa.nuspec
index a10c47a..991db6b 100644
--- a/chocolatey/yadfa.nuspec
+++ b/chocolatey/yadfa.nuspec
@@ -22,6 +22,8 @@
<file src="INSTALL*" target="yadfa" />
<file src="README*" target="yadfa" />
<file src="build.lisp" target="yadfa" />
+ <file src="chocolatey\tools\**" target="tools" />
+ <file src="chocolatey\icon.ico" target="yadfa" />
<file src="core\**" target="yadfa\core" />
<file src="data\**" target="yadfa\data" />
<file src="docs\**" target="yadfa\docs" exclude="docs/*/*.toc;docs/*/*.cps;docs/*/*.fns;docs/*/*.tps;docs/*/*.vrs;docs/*/*.aux;docs/*/*.cp;docs/*/*.fn;docs/*/*.log;docs/*/*.tp;docs/*/*.vr;docs/*/*.css" />