Skip to content

Commit

Permalink
Updated on 2015-12-14: jstock,kvrt
Browse files Browse the repository at this point in the history
  • Loading branch information
dtgm committed Dec 15, 2015
1 parent fc20a86 commit cd3cb08
Show file tree
Hide file tree
Showing 7 changed files with 160 additions and 0 deletions.
41 changes: 41 additions & 0 deletions automatic/_output/jstock/1.0.7.11/jstock.nuspec
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>jstock</id>
<title>JStock</title>
<version>1.0.7.11</version>
<authors>Yan Cheng Cheok</authors>
<owners>dtgm</owners>
<summary>Manage and track stock investments</summary>
<description>
JStock is a free stock market software for 26 countries. It provides Stock watchlist, Intraday stock price snapshot, Stock indicator editor, Stock indicator scanner and Portfolio management. Free SMS/email alert supported. It integrates seamlessly with Android.

[Features](http://jstock.org/features.html)
</description>
<packageSourceUrl>https://github.com/dtgm/chocolatey-packages/tree/master/automatic/_output/jstock/1.0.7.11</packageSourceUrl>
<projectUrl>http://jstock.org</projectUrl>
<projectSourceUrl>https://github.com/yccheok/jstock</projectSourceUrl>
<bugTrackerUrl>https://github.com/yccheok/jstock/issues</bugTrackerUrl>
<docsUrl>http://jstock.org/help.html</docsUrl>
<mailingListUrl>https://trello.com/b/RCBNdkoo/jstock-free-stock-market-software</mailingListUrl>
<iconUrl>https://cdn.rawgit.com/dtgm/chocolatey-packages/73f66d0487e883d1119a25e17bbb768809c455b8/icons/jstock.png</iconUrl>
<tags>stocks investing market java</tags>
<copyright>© 2007 Yan Cheng Cheok</copyright>
<licenseUrl>http://www.gnu.org/licenses/gpl-2.0.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
#### Program
* [Changelog](https://github.com/yccheok/jstock/releases)

#### Package
* Automatically built and uploaded by [dtgm](https://chocolatey.org/profiles/dtgm)
</releaseNotes>
<dependencies>
<dependency id="autohotkey.portable" />
<dependency id="javaruntime" />
</dependencies>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
14 changes: 14 additions & 0 deletions automatic/_output/jstock/1.0.7.11/tools/chocolateyInstall.ps1
@@ -0,0 +1,14 @@
$packageName = 'jstock'
$installerType = 'exe'
$silentArgs = '/S'
$url = 'https://github.com//yccheok/jstock/releases/download/release_1-0-7-11/jstock-1.0.7.11-setup.exe'
$checksum = '523370ec2edc2e930947e208ab38b548'
$checksumType = 'md5'
$validExitCodes = @(0)
Install-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$silentArgs" `
-Url "$url" `
-ValidExitCodes $validExitCodes `
-Checksum "$checksum" `
-ChecksumType "$checksumType"
10 changes: 10 additions & 0 deletions automatic/_output/jstock/1.0.7.11/tools/chocolateyUninstall.ahk
@@ -0,0 +1,10 @@
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode, 1 ;matches if title begins with string
DetectHiddenText, off ;will not search hidden window text
DetectHiddenWindows, off ;will not detect hidden windows
WinWait, JStock Uninstall ahk_class #32770, &Yes, 120
WinActivate
ControlClick, Button1, ahk_class #32770
ExitApp
21 changes: 21 additions & 0 deletions automatic/_output/jstock/1.0.7.11/tools/chocolateyUninstall.ps1
@@ -0,0 +1,21 @@
$packageName = 'jstock'
$packageSearch = "JStock"
$installerType = 'exe'
$silentArgs = '/S'
$validExitCodes = @(0)
$scriptPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ahkFile = "$scriptPath\chocolateyUninstall.ahk"
$ahkRun = "$Env:Temp\$(Get-Random).ahk"
Copy-Item $ahkFile $ahkRun -Force
Start-Process 'AutoHotKey' "$ahkRun"
Get-ItemProperty -Path @( 'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' ) `
-ErrorAction:SilentlyContinue `
| Where-Object { $_.DisplayName -like "$packageSearch*" } `
| ForEach-Object { Uninstall-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$($silentArgs)" `
-File "$($_.UninstallString)" `
-ValidExitCodes $validExitCodes }
Remove-Item "$ahkRun" -Force
46 changes: 46 additions & 0 deletions automatic/_output/kvrt/2015.12.14.0646/kvrt.nuspec
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>kvrt</id>
<title>Kaspersky Virus Removal Tool</title>
<version>2015.12.14.0646</version>
<authors>Kaspersky Lab</authors>
<owners>dtgm</owners>
<summary>Designed to remove different types of infections from an infected PC</summary>
<description>
Kaspersky Virus Removal Tool 2015 is a free tool for scanning infected computers under Microsoft Windows for viruses and eliminating the detected threats.

Kaspersky Virus Removal Tool 2015 is not intended for long-term use as it does not protect your computer in the real-time mode. After the computer is disinfected, remove the tool and install the full-scale antivirus solution.

#### Features
* Simplified interface.
* Can be installed to an infected computer (Safe Mode supported).
* Composite scan and disinfection system: signature detection and heuristic analyzer.
* Gathering system information and interactive creation of scripts for disinfection.
* Automatic and manual removal of virus, Trojans and worms.
* Automatic and manual removal of Spyware and Adware modules.
* Automatic and manual removal of all types of rootkits.

#### Documentation
* [FAQ](http://support.kaspersky.com/viruses/kvrt2015/info)
* [System requirements](http://support.kaspersky.com/viruses/kvrt2015#requirements)

#### Community
* [Forum](http://forum.kaspersky.com/index.php?showforum=160)
</description>
<packageSourceUrl>https://github.com/dtgm/chocolatey-packages/tree/master/automatic/_output/kvrt/2015.12.14.0646</packageSourceUrl>
<projectUrl>http://www.kaspersky.com/antivirus-removal-tool?form=1</projectUrl>
<iconUrl>https://cdn.rawgit.com/dtgm/chocolatey-packages/dd7121af88611d4f92e29187d065ba9a0fcaedeb/icons/kvrt.png</iconUrl>
<tags>freeware security antivirus vulnerability</tags>
<copyright>© Kaspersky Lab</copyright>
<licenseUrl>http://www.kaspersky.com/other/eulawin8-en?cid=acq_pad</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
#### Package
* Automatically built and uploaded by [dtgm](https://chocolatey.org/profiles/dtgm)
</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
24 changes: 24 additions & 0 deletions automatic/_output/kvrt/2015.12.14.0646/tools/chocolateyInstall.ps1
@@ -0,0 +1,24 @@
$packageName = 'kvrt'
$url = 'http://devbuilds.kaspersky-labs.com/devbuilds/KVRT/latest/full/KVRT.exe'
$checksum = '5af36781f7b29d911155fc8fb6c8756e21018f43'
$checksumType = 'sha1'
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installFile = Join-Path $toolsPath "kvrt.exe"
try {
Get-ChocolateyWebFile -PackageName "$packageName" `
-FileFullPath "$installFile" `
-Url "$url" `
-Checksum "$checksum" `
-ChecksumType "$checksumType"

# create empty sidecars so shimgen only creates one shim
Set-Content -Path ("$installFile.ignore") `
-Value $null

# create batch to start executable
$batchStart = Join-Path $toolsPath "kvrt.bat"
'start kvrt.exe -accepteula' | Out-File -FilePath $batchStart -Encoding ASCII
Install-BinFile "kvrt" "$batchStart"
} catch {
throw $_.Exception
}
@@ -0,0 +1,4 @@
$packageName = 'kvrt'
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$batchStart = Join-Path $toolsPath "kvrt.bat"
Uninstall-BinFile "$packageName" "$batchStart"

0 comments on commit cd3cb08

Please sign in to comment.