feat: ConEmu 13.7.8.0
- new version of what's in Chocolatey - more complete description - uninstaller - automatically choose x86 / x64 based on OS
This commit is contained in:
44
ConEmu/ConEmu.nuspec
Normal file
44
ConEmu/ConEmu.nuspec
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>ConEmu</id>
|
||||
<version>13.7.8.0</version>
|
||||
<authors>Maximus5</authors>
|
||||
<owners>Xavier Decoster, Ethan J. Brown</owners>
|
||||
<licenseUrl>http://opensource.org/licenses/BSD-3-Clause</licenseUrl>
|
||||
<projectUrl>http://code.google.com/p/conemu-maximus5/</projectUrl>
|
||||
<iconUrl>http://code.google.com/p/conemu-maximus5/logo?cct=1340271535</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<summary>ConEmu-Maximus5 is a Windows console emulator with tabs, which presents multiple consoles and simple GUI applications as one customizable GUI window with various features.</summary>
|
||||
<description>ConEmu starts a console program in a hidden console window, and provides an alternative customizable GUI window with various features:
|
||||
|
||||
* smooth and friendly window resizing;
|
||||
* tabs for editors, viewers, panels and consoles;
|
||||
* run simple GUI apps in tabs;
|
||||
* Windows 7 Jump Lists and Progress on Taskbar buttons;
|
||||
* easily run old DOS applications (games) in Windows 7 or 64-bit OS;
|
||||
* thumbnails and tiles in Far Manager;
|
||||
* normal, maximized and full screen graphical window modes;
|
||||
* window font anti-aliasing: standard, ClearType, disabled;
|
||||
* window fonts: family, height, width, bold, italic, etc.;
|
||||
* using normal/bold/italic fonts for different parts of the console simultaneously;
|
||||
* Chinese verions of Windows supported;
|
||||
* using 24-bit colors in Far Manager 3.x;
|
||||
* ANSI X3.64 and Xterm 256 colors;
|
||||
* cursor: standard console (horizontal) or GUI (vertical);
|
||||
* optional per-application settings (e.g. palette);
|
||||
* vertical console buffer scrolling using the keyboard (BufferHeight mode);
|
||||
* show full output (1K+ lines) of last command in Far Manager's editor/viewer;
|
||||
* customizable Far Manager right click behaviour (long click opens context menu);
|
||||
* drag and drop (explorer style) of files and folders in Far Manager;
|
||||
* limited support of BDF fonts;
|
||||
* user friendly text and block selection;
|
||||
* transparency and desktop mode;
|
||||
* customizable starting tabs;
|
||||
* configurable and clickable status bar;
|
||||
* and more, and more... take a look at the Settings dialog, What's New page and Settings.reg</description>
|
||||
<releaseNotes>https://code.google.com/p/conemu-maximus5/wiki/Whats_New</releaseNotes>
|
||||
<copyright>Copyright (c) 2013, Maximus5</copyright>
|
||||
<tags>graphical console emulator tabs FAR farmanager powershell cmd bash</tags>
|
||||
</metadata>
|
||||
</package>
|
29
ConEmu/tools/chocolateyInstall.ps1
Normal file
29
ConEmu/tools/chocolateyInstall.ps1
Normal file
@@ -0,0 +1,29 @@
|
||||
$package = 'ConEmu'
|
||||
$version = '130708'
|
||||
|
||||
try {
|
||||
|
||||
$isSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
|
||||
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
|
||||
|
||||
$os = if ($isSytem32Bit) { "x86" } else { "x64" }
|
||||
|
||||
# If having problems with untrusted cetrificates on HTTPS, use
|
||||
# solution: http://stackoverflow.com/a/561242/1579985
|
||||
$params = @{
|
||||
PackageName = $package;
|
||||
FileType = 'exe';
|
||||
SilentArgs = "/p:$os /passive";
|
||||
# MSI installer, but packed inside wrapper to select x86 or x64
|
||||
# version. Therefore, treat it as EXE type.
|
||||
Url = "https://conemu-maximus5.googlecode.com/files/ConEmuSetup.$version.exe";
|
||||
ValidExitCodes = @(0);
|
||||
}
|
||||
|
||||
Install-ChocolateyPackage @params
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
27
ConEmu/tools/chocolateyUninstall.ps1
Normal file
27
ConEmu/tools/chocolateyUninstall.ps1
Normal file
@@ -0,0 +1,27 @@
|
||||
$package = 'ConEmu'
|
||||
|
||||
try {
|
||||
|
||||
# $productGuid = Get-ChildItem HKLM:\SOFTWARE\Classes\Installer\Products |
|
||||
# Get-ItemProperty -Name 'ProductName' |
|
||||
# ? { $_.ProductName -match 'ConEmu' } |
|
||||
# Select -ExpandProperty PSChildName -First 1
|
||||
|
||||
$installerRoot = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer'
|
||||
$productsRoot = "$installerRoot\UserData\S-1-5-18\Products"
|
||||
|
||||
# x64, x86
|
||||
'1616F7E78FA09834EAA6E0617006EEC7', '8ADD8A72FEF29D044884864D191B15B0' |
|
||||
% { "$productsRoot\$_\InstallProperties" } |
|
||||
? { Test-Path $_ } |
|
||||
% {
|
||||
$pkg = (Get-ItemProperty $_).LocalPackage
|
||||
|
||||
msiexec.exe /x $pkg /qb-!
|
||||
}
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
Reference in New Issue
Block a user