Skip to content

Commit

Permalink
Make JDownloader "official"
Browse files Browse the repository at this point in the history
Make JDownloader "official"
  • Loading branch information
aronovgj committed Oct 25, 2016
1 parent 2338b97 commit ead576f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
28 changes: 28 additions & 0 deletions jdownloader/jdownloader.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>jdownloader</id>
<title>JDownloader</title>
<version>2.0</version>
<authors>AppWork UG</authors>
<owners>doc</owners>
<summary></summary>
<description>
JDownloader simplifies and improves the process of downloading files from "free" file hosting sites like Rapidshare, MEGA, Mediafire, 4Shared, uploaded.to, Putlocker, Cyberlocker, etc.
JDownloader offers downloading in multiple parallel streams, CAPTCHA recognition, and automatic file extraction.
JDownloader can import CCF, RSDF and the new DLC files.

Note: This is not the official installer. It is unsupported by JDownloader and may break any time. The install directory is different to the official one.

</description>
<projectUrl>http://jdownloader.org/download/offline</projectUrl>
<tags>beta-version download-manager jdownloader java</tags>
<copyright></copyright>
<dependencies>
<dependency id="jre8" />
</dependencies>
<licenseUrl>http://www.gnu.org/licenses/gpl.html</licenseUrl>
<packageSourceUrl>https://github.com/aronovgj/choco-auto</packageSourceUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <iconUrl>https://cdn.rawgit.com/aronovgj/chocolatey/3a4f137eeca3f3487b56843f9e6b514a86083be5/icons/jdownloader.png</iconUrl>
</metadata>
</package>
18 changes: 18 additions & 0 deletions jdownloader/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
$packageName = 'jdownloader'
$url = 'http://installer.jdownloader.org/ic/JD2SilentSetup_x86.exe'
$url64 = 'http://installer.jdownloader.org/ic/JD2SilentSetup_x64.exe'

$packageArgs = @{
packageName = $packageName
fileType = 'EXE'
silentArgs = '-q'
url = $url
url64bit = $url64
checksum = '{{checksum}}'
checksumType = 'sha256'
checksum64 = '{{checksumx64}}'
checksumType64 = 'sha256'

}

Install-ChocolateyPackage @packageArgs

0 comments on commit ead576f

Please sign in to comment.