mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
i2p: Add version 0.9.41 (#209)
This commit is contained in:
parent
99521010aa
commit
a55134b432
60
bucket/i2p-portable.json
Normal file
60
bucket/i2p-portable.json
Normal file
@ -0,0 +1,60 @@
|
||||
{
|
||||
"version": "0.9.41",
|
||||
"description": "An anonymizing network.",
|
||||
"homepage": "https://geti2p.net",
|
||||
"license": {
|
||||
"identifier": "Freeware",
|
||||
"url": "https://github.com/i2p/i2p.i2p/blob/master/LICENSE.txt"
|
||||
},
|
||||
"suggest": {
|
||||
"JDK": [
|
||||
"java/oraclejdk",
|
||||
"java/openjdk"
|
||||
]
|
||||
},
|
||||
"url": "https://launchpad.net/i2p/trunk/0.9.41/%2Bdownload/i2pinstall_0.9.41_windows.exe#/dl.7z",
|
||||
"hash": "e8d896e94696c3cb3be20cb28ea902595f82f7028622931a8ab6f451e4a3d6b5",
|
||||
"bin": [
|
||||
"I2P.exe",
|
||||
"I2Psvc.exe"
|
||||
],
|
||||
"shortcuts": [
|
||||
[
|
||||
"I2Psvc.exe",
|
||||
"Start I2P",
|
||||
"-c \"$dir\\wrapper.config\"",
|
||||
"docs\\start.ico"
|
||||
]
|
||||
],
|
||||
"persist": "i2p",
|
||||
"installer": {
|
||||
"script": [
|
||||
"$temp = \"$env:TEMP\\I2P\"",
|
||||
"New-Item $temp -ItemType 'Directory' -Force | Out-Null",
|
||||
"Move-Item \"$dir\\install.jar\" \"$temp\\install.jar\" -Force",
|
||||
"New-Item -Path $temp -Name 'install.defaults' -Value \"INSTALL_PATH=$($dir.toString().Replace('\\', '/'))\" -Force | Out-Null",
|
||||
"& (scoop which java) -jar \"$temp\\install.jar\" -auto | Out-Null",
|
||||
"Remove-Item $temp -Force -Recurse",
|
||||
"$content = @(",
|
||||
" 'wrapper.java.additional.3=-Di2p.dir.pid=./i2p'",
|
||||
" 'wrapper.java.additional.4=-Di2p.dir.temp=./i2p'",
|
||||
" 'wrapper.java.additional.5=-Di2p.dir.config=./i2p'",
|
||||
" 'wrapper.logfile=./i2p/wrapper.log'",
|
||||
" 'wrapper.java.pidfile=./i2p/routerjvm.pid'",
|
||||
" 'wrapper.pidfile=./i2p/i2p.pid'",
|
||||
")",
|
||||
"Add-Content \"$dir\\wrapper.config\" $content -Encoding UTF8"
|
||||
]
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://launchpad.net/i2p/trunk",
|
||||
"regex": "Latest version is ([\\d.]+)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://launchpad.net/i2p/trunk/$version/%2Bdownload/i2pinstall_$version_windows.exe#/dl.7z",
|
||||
"hash": {
|
||||
"url": "https://geti2p.net/download",
|
||||
"regex": "(?sm)$basename.*?$sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
56
bucket/i2p.json
Normal file
56
bucket/i2p.json
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
"version": "0.9.41",
|
||||
"description": "An anonymizing network.",
|
||||
"homepage": "https://geti2p.net",
|
||||
"license": {
|
||||
"identifier": "Freeware",
|
||||
"url": "https://github.com/i2p/i2p.i2p/blob/master/LICENSE.txt"
|
||||
},
|
||||
"suggest": {
|
||||
"JDK": [
|
||||
"java/oraclejdk",
|
||||
"java/openjdk"
|
||||
]
|
||||
},
|
||||
"url": "https://launchpad.net/i2p/trunk/0.9.41/%2Bdownload/i2pinstall_0.9.41_windows.exe#/dl.7z",
|
||||
"hash": "e8d896e94696c3cb3be20cb28ea902595f82f7028622931a8ab6f451e4a3d6b5",
|
||||
"bin": [
|
||||
"I2P.exe",
|
||||
"I2Psvc.exe"
|
||||
],
|
||||
"shortcuts": [
|
||||
[
|
||||
"I2P.exe",
|
||||
"I2P\\Start I2P (no window)",
|
||||
"",
|
||||
"docs\\start.ico"
|
||||
],
|
||||
[
|
||||
"I2Psvc.exe",
|
||||
"I2P\\Start I2P (restartable)",
|
||||
"-c \"$dir\\wrapper.config\"",
|
||||
"docs\\start.ico"
|
||||
]
|
||||
],
|
||||
"installer": {
|
||||
"script": [
|
||||
"$temp = \"$env:TEMP\\I2P\"",
|
||||
"New-Item $temp -ItemType 'Directory' -Force | Out-Null",
|
||||
"Move-Item \"$dir\\install.jar\" \"$temp\\install.jar\" -Force",
|
||||
"New-Item -Path $temp -Name 'install.defaults' -Value \"INSTALL_PATH=$($dir.toString().Replace('\\', '/'))\" -Force | Out-Null",
|
||||
"& (scoop which java) -jar \"$temp\\install.jar\" -auto | Out-Null",
|
||||
"Remove-Item $temp -Force -Recurse"
|
||||
]
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://launchpad.net/i2p/trunk",
|
||||
"regex": "Latest version is ([\\d.]+)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://launchpad.net/i2p/trunk/$version/%2Bdownload/i2pinstall_$version_windows.exe#/dl.7z",
|
||||
"hash": {
|
||||
"url": "https://geti2p.net/download",
|
||||
"regex": "(?sm)$basename.*?$sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user