From b3e787f2820359926c6ccdae114fdef55a95c3b0 Mon Sep 17 00:00:00 2001 From: teknowledgist Date: Tue, 1 Aug 2017 08:22:51 -0400 Subject: [PATCH] Removed AHK dependency AHK is not needed by using a (strange) switch. Now this package is totally silent. --- googleearthpro/googleearthpro.nuspec | 12 +++++++----- googleearthpro/tools/button.ahk | 5 ----- googleearthpro/tools/chocolateyInstall.ps1 | 3 +-- 3 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 googleearthpro/tools/button.ahk diff --git a/googleearthpro/googleearthpro.nuspec b/googleearthpro/googleearthpro.nuspec index bcea507..0a04b3b 100644 --- a/googleearthpro/googleearthpro.nuspec +++ b/googleearthpro/googleearthpro.nuspec @@ -11,16 +11,18 @@ https://cdn.rawgit.com/aronovgj/chocolatey/4b19b72cdcde1babe693bafea0a0e8fa06b9a66f/icons/googleearthpro.png false Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. - -Key: + +Key: `GEPFREE` - + Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. ©2015 Google - - https://github.com/aronovgj/choco-auto + https://github.com/aronovgj/choco-auto google earth navigation geographic mapping admin + + + \ No newline at end of file diff --git a/googleearthpro/tools/button.ahk b/googleearthpro/tools/button.ahk deleted file mode 100644 index a85afc3..0000000 --- a/googleearthpro/tools/button.ahk +++ /dev/null @@ -1,5 +0,0 @@ -WinWait, Google Earth Pro, , 300 -ControlClick, Button6, Google Earth Pro - -WinWait, Google Earth, , 300 -ControlClick, Button1, Google Earth \ No newline at end of file diff --git a/googleearthpro/tools/chocolateyInstall.ps1 b/googleearthpro/tools/chocolateyInstall.ps1 index 3ea8e28..c30afa0 100644 --- a/googleearthpro/tools/chocolateyInstall.ps1 +++ b/googleearthpro/tools/chocolateyInstall.ps1 @@ -6,11 +6,10 @@ $ahkFile = "$toolsDir\button.ahk" $packageArgs = @{ packageName = $packageName fileType = 'EXE' - silentArgs = '' + silentArgs = 'OMAHA=1' url = $url checksum = '{{checksum}}' ChecksumType = 'sha256' } -Start-Process 'AutoHotkey' $ahkFile Install-ChocolateyPackage @packageArgs \ No newline at end of file