/
libportable-floorp.json
46 lines (46 loc) 路 2 KB
/
libportable-floorp.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"version": "11.12.2",
"description": "(libportable patched) A new privacy-preserving Firefox-based browser developedby a community of students in Japan.",
"homepage": "https://floorp.app/en/",
"license": "MPL-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v11.12.2/floorp-win64.installer.exe#/dl.7z",
"hash": "88dce129709523f8f82f56a1052e136277a937af35be92e54be9f9111d616060"
}
},
"depends": "lemon/libportable",
"pre_install": [
"if ($env:CI -eq \"true\") { return }",
"Remove-Item \"$dir\\setup.exe\", \"$dir\\core\\updater.*\" -Force",
"Copy-Item \"$(appdir libportable $global)\\current\\portable64.dll\" \"$dir\\core\\\"",
"if (!(installed 'libportable' $global)) { error 'Please install `libportable` first, then reinstall `libportable-floorp`.' ; Exit }",
"Invoke-ExternalCommand \"$(appdir libportable $global)\\current\\setdll64.exe\" -ArgumentList (\"/d:$dir\\core\\portable64.dll\", \"$dir\\core\\mozglue.dll\") -Activity \"Applying libportable patch...\" | Out-Null",
"if (!(Test-Path \"$persist_dir\\App\\portable.ini\" )) {",
" Copy-Item \"$(appdir libportable $global)\\current\\portable(example).ini\" \"$dir\\core\\portable.ini\"",
" ((Get-Content -path \"$dir\\core\\portable.ini\" -Raw) -replace 'Update=1','Update=0') | Set-Content -Path \"$dir\\core\\portable.ini\"",
"}"
],
"bin": "core\\floorp.exe",
"shortcuts": [
[
"core\\floorp.exe",
"Floorp"
]
],
"persist": [
"core\\portable.ini",
"Profiles",
"Plugins"
],
"checkver": {
"github": "https://github.com/Floorp-Projects/Floorp"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v$version/floorp-win64.installer.exe#/dl.7z"
}
}
}
}