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
Showing
86 changed files
with
1,686 additions
and
1,686 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
*~ | ||
*.bak | ||
*.cache | ||
*.nupkg | ||
*.old | ||
*.orig | ||
*.swp | ||
*.swo | ||
*.suo | ||
*.test | ||
*.work | ||
*.handover | ||
*.new | ||
*.exist | ||
*-orig.* | ||
Thumbs.db | ||
.DS_Store | ||
_ReSharper* | ||
*.resharper | ||
New folder* | ||
New Text Document*.txt | ||
obj | ||
*/working | ||
ketarin/soluto.xml | ||
*.stackdump | ||
update_vars.ps1 | ||
update_info.xml | ||
Update-AUPackages.md | ||
/jobs.db | ||
*.log | ||
*.log.full | ||
automatic/_output/ | ||
*~ | ||
*.bak | ||
*.cache | ||
*.nupkg | ||
*.old | ||
*.orig | ||
*.swp | ||
*.swo | ||
*.suo | ||
*.test | ||
*.work | ||
*.handover | ||
*.new | ||
*.exist | ||
*-orig.* | ||
Thumbs.db | ||
.DS_Store | ||
_ReSharper* | ||
*.resharper | ||
New folder* | ||
New Text Document*.txt | ||
obj | ||
*/working | ||
ketarin/soluto.xml | ||
*.stackdump | ||
update_vars.ps1 | ||
update_info.xml | ||
Update-AUPackages.md | ||
/jobs.db | ||
*.log | ||
*.log.full | ||
automatic/_output/ |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
$ErrorActionPreference = 'Stop' | ||
|
||
$packageName = 'brackets' | ||
$url32 = 'https://github.com/adobe/brackets/releases/download/release-1.7/Brackets.Release.1.7.msi' | ||
$url64 = $url32 | ||
$checksum32 = 'f5c8d66eba8cdb67c607aa818ec93a7a0a578764782fc7b414ce91a1764b4aff' | ||
$checksum64 = $checsum32 | ||
|
||
$packageArgs = @{ | ||
packageName = $packageName | ||
fileType = 'MSI' | ||
url = $url32 | ||
url64bit = $url64 | ||
checksum = $checksum32 | ||
checksum64 = $checksum64 | ||
checksumType = 'sha256' | ||
checksumType64 = 'sha256' | ||
silentArgs = '/q /norestart' | ||
validExitCodes = @(0) | ||
registryUninstallerKey = $packageName | ||
} | ||
Install-ChocolateyPackage @packageArgs | ||
$ErrorActionPreference = 'Stop' | ||
|
||
$packageName = 'brackets' | ||
$url32 = 'https://github.com/adobe/brackets/releases/download/release-1.7/Brackets.Release.1.7.msi' | ||
$url64 = $url32 | ||
$checksum32 = 'f5c8d66eba8cdb67c607aa818ec93a7a0a578764782fc7b414ce91a1764b4aff' | ||
$checksum64 = $checsum32 | ||
|
||
$packageArgs = @{ | ||
packageName = $packageName | ||
fileType = 'MSI' | ||
url = $url32 | ||
url64bit = $url64 | ||
checksum = $checksum32 | ||
checksum64 = $checksum64 | ||
checksumType = 'sha256' | ||
checksumType64 = 'sha256' | ||
silentArgs = '/q /norestart' | ||
validExitCodes = @(0) | ||
registryUninstallerKey = $packageName | ||
} | ||
Install-ChocolateyPackage @packageArgs |
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 |
---|---|---|
@@ -1,26 +1,26 @@ | ||
import-module au | ||
|
||
$releases = 'http://brackets.io' | ||
|
||
function global:au_SearchReplace { | ||
@{ | ||
".\tools\chocolateyInstall.ps1" = @{ | ||
"(^[$]url32\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'" | ||
"(^[$]checksum32\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'" | ||
} | ||
} | ||
} | ||
|
||
function global:au_GetLatest { | ||
$download_page = Invoke-WebRequest -Uri $releases | ||
$download_page.links | ? InnerText -match 'Download Brackets' | % InnerText | set version | ||
$version = $version -replace 'Download Brackets ' | ||
|
||
$download_page = Invoke-WebRequest https://github.com/adobe/brackets/releases | ||
$url = $download_page.links | ? href -match '\.msi$' | ? href -match '1.7' | % href | select -First 1 | ||
$url = 'https://github.com' + $url | ||
|
||
@{ URL32 = $url; Version = $version } | ||
} | ||
|
||
update -ChecksumFor 32 | ||
import-module au | ||
|
||
$releases = 'http://brackets.io' | ||
|
||
function global:au_SearchReplace { | ||
@{ | ||
".\tools\chocolateyInstall.ps1" = @{ | ||
"(^[$]url32\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'" | ||
"(^[$]checksum32\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'" | ||
} | ||
} | ||
} | ||
|
||
function global:au_GetLatest { | ||
$download_page = Invoke-WebRequest -Uri $releases | ||
$download_page.links | ? InnerText -match 'Download Brackets' | % InnerText | set version | ||
$version = $version -replace 'Download Brackets ' | ||
|
||
$download_page = Invoke-WebRequest https://github.com/adobe/brackets/releases | ||
$url = $download_page.links | ? href -match '\.msi$' | ? href -match '1.7' | % href | select -First 1 | ||
$url = 'https://github.com' + $url | ||
|
||
@{ URL32 = $url; Version = $version } | ||
} | ||
|
||
update -ChecksumFor 32 |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
$packageName = '{{PackageName}}' | ||
$installerType = 'exe' | ||
$url = '{{DownloadUrl}}' | ||
$silentArgs = '/S' | ||
$validExitCodes = @(0) | ||
|
||
Install-ChocolateyPackage $packageName $installerType $silentArgs $url -validExitCodes $validExitCodes | ||
$packageName = '{{PackageName}}' | ||
$installerType = 'exe' | ||
$url = '{{DownloadUrl}}' | ||
$silentArgs = '/S' | ||
$validExitCodes = @(0) | ||
|
||
Install-ChocolateyPackage $packageName $installerType $silentArgs $url -validExitCodes $validExitCodes |
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 |
---|---|---|
@@ -1,41 +1,41 @@ | ||
$packageName = '{{PackageName}}' | ||
$installerType = 'exe' | ||
$url = '{{DownloadUrl}}' | ||
$url64 = '{{DownloadUrlx64}}' | ||
$validExitCodes = @(0) | ||
|
||
# Set the default install path to Bin-Root | ||
$binRoot = Get-BinRoot | ||
$cygRoot = Join-Path $binRoot 'cygwin' | ||
|
||
# https://cygwin.com/faq/faq.html#faq.setup.cli | ||
$silentArgs = $( | ||
"--quiet-mode " + | ||
"--site http://mirrors.kernel.org/sourceware/cygwin/ " + | ||
"--no-desktop" + | ||
"--packages default" | ||
) | ||
|
||
# These install arguments are only appended to the silent args | ||
# if Cygwin is installed for the first time, otherwise these | ||
# values are already set. | ||
$firstInstallArgs = $( | ||
"--root $cygRoot " + | ||
"--local-package-dir $cygRoot" | ||
) | ||
|
||
# Check if Cygwin is already installed | ||
$alreadyInstalled = Test-Path 'HKLM:\SOFTWARE\Cygwin\setup' | ||
|
||
if (!$alreadyInstalled) { | ||
$silentArgs = $silentArgs + ' ' + $firstInstallArgs | ||
} | ||
# Configure --local-package-dir for subsequent or pre-existing installs | ||
# (otherwise they get dropped in $ENV:ChocolateyInstall) | ||
Else { | ||
$cygRoot = (Get-ItemProperty 'HKLM:\SOFTWARE\Cygwin\setup').rootdir | ||
$silentArgs = $silentArgs + ' ' + "--local-package-dir $cygRoot" | ||
} | ||
|
||
Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 -validExitCodes $validExitCodes | ||
Install-BinFile -Name "Cygwin" -Path "$cygRoot\Cygwin.bat" | ||
$packageName = '{{PackageName}}' | ||
$installerType = 'exe' | ||
$url = '{{DownloadUrl}}' | ||
$url64 = '{{DownloadUrlx64}}' | ||
$validExitCodes = @(0) | ||
|
||
# Set the default install path to Bin-Root | ||
$binRoot = Get-BinRoot | ||
$cygRoot = Join-Path $binRoot 'cygwin' | ||
|
||
# https://cygwin.com/faq/faq.html#faq.setup.cli | ||
$silentArgs = $( | ||
"--quiet-mode " + | ||
"--site http://mirrors.kernel.org/sourceware/cygwin/ " + | ||
"--no-desktop" + | ||
"--packages default" | ||
) | ||
|
||
# These install arguments are only appended to the silent args | ||
# if Cygwin is installed for the first time, otherwise these | ||
# values are already set. | ||
$firstInstallArgs = $( | ||
"--root $cygRoot " + | ||
"--local-package-dir $cygRoot" | ||
) | ||
|
||
# Check if Cygwin is already installed | ||
$alreadyInstalled = Test-Path 'HKLM:\SOFTWARE\Cygwin\setup' | ||
|
||
if (!$alreadyInstalled) { | ||
$silentArgs = $silentArgs + ' ' + $firstInstallArgs | ||
} | ||
# Configure --local-package-dir for subsequent or pre-existing installs | ||
# (otherwise they get dropped in $ENV:ChocolateyInstall) | ||
Else { | ||
$cygRoot = (Get-ItemProperty 'HKLM:\SOFTWARE\Cygwin\setup').rootdir | ||
$silentArgs = $silentArgs + ' ' + "--local-package-dir $cygRoot" | ||
} | ||
|
||
Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 -validExitCodes $validExitCodes | ||
Install-BinFile -Name "Cygwin" -Path "$cygRoot\Cygwin.bat" |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Remove-Item 'HKLM:\SOFTWARE\Cygwin' -Recurse -ErrorAction SilentlyContinue | ||
Uninstall-BinFile -Name Cygwin | ||
Remove-Item 'HKLM:\SOFTWARE\Cygwin' -Recurse -ErrorAction SilentlyContinue | ||
Uninstall-BinFile -Name Cygwin |
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
Oops, something went wrong.