Skip to content

Commit

Permalink
Create librewolf-pentest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
arch3rPro committed Nov 29, 2024
1 parent 0594acb commit 665af12
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions bucket/librewolf-pentest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"version": "132.0.2-1",
"description": "A fork of Firefox, focused on privacy, security and freedom.",
"homepage": "https://librewolf.net/",
"license": "MPL-2.0",
"architecture": {
"64bit": {
"url": "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/132.0.2-1/librewolf-132.0.2-1-windows-x86_64-portable.zip",
"hash": "eda4f83d168b417265bd1aae686d008f064cd8f35150d67c563099c41d1a7820"
},
"32bit": {
"url": "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/132.0.2-1/librewolf-132.0.2-1-windows-i686-portable.zip",
"hash": "975083915a405f5e5ea0fa5ac220a79cf895bac630b217844b53fe1a64ba5f6e"
}
},
"extract_dir": "librewolf-132.0.2-1",
"pre_install": [
"Remove-Item \"$dir\\LibreWolf-WinUpdater.exe\"",
"Remove-Item \"$dir\\ScheduledTask-Create.ps1\"",
"Remove-Item \"$dir\\ScheduledTask-Remove.ps1\"",
"ensure \"$persist_dir\\LibreWolf\\distribution\" | Out-Null",
"",
"# 下载并替换 policies.json",
"$policiesUrl = \"https://github.com/arch3rPro/PST-Files/raw/refs/heads/main/Librewolf-Pentest/policies.json\"",
"$policiesPath = \"$dir\\LibreWolf\\distribution\\policies.json\"",
"Invoke-WebRequest -Uri $policiesUrl -OutFile $policiesPath -UseBasicParsing",
"",
"Write-Host \"已成功下载并替换 policies.json 文件。\""
],
"bin": [
[
"LibreWolf-Portable.exe",
"librewolf"
]
],
"shortcuts": [
[
"LibreWolf-Portable.exe",
"LibreWolf"
]
],
"persist": "Profiles",
"pre_uninstall": [
"Copy-Item \"$dir\\LibreWolf\\defaults\\pref\\*\" \"$persist_dir\\LibreWolf\\defaults\\pref\" -Exclude 'channel-prefs.js'",
"Copy-Item \"$dir\\LibreWolf\\*.js\", \"$dir\\LibreWolf\\*.cfg\" \"$persist_dir\\LibreWolf\" -Exclude 'librewolf.cfg'"
],
"checkver": {
"url": "https://gitlab.com/api/v4/projects/44042130/releases/permalink/latest",
"jsonpath": "$.tag_name"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/$version/librewolf-$version-windows-x86_64-portable.zip"
},
"32bit": {
"url": "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/$version/librewolf-$version-windows-i686-portable.zip"
}
},
"hash": {
"url": "$url.sha256sum"
},
"extract_dir": "librewolf-$version"
}
}

0 comments on commit 665af12

Please sign in to comment.