{ "version": "30b5959", "description": "A text-mode files and archives manager", "homepage": "https://farmanager.com/", "license": { "identifier": "BSD-3-Clause", "url": "https://farmanager.com/license.php" }, "architecture": { "64bit": { "url": "https://farmanager.com/files/Far30b5959.x64.20220202.7z", "hash": "4c8e5dac6efd8bc670e0fdece968f167e89c8a070331a7f4b91d744d97bf7468" }, "32bit": { "url": "https://farmanager.com/files/Far30b5959.x86.20220202.7z", "hash": "79dcda578217b4947f6799646df2a728defd3cc7a9f14e652adeb192f6e30c49" } }, "pre_install": [ "$ini = 'Far.exe.ini'", "if (!(Test-Path \"$persist_dir\\$ini\")) {", " Copy-Item \"$dir\\Far.exe.example.ini\" \"$dir\\$ini\"", " (Get-Content \"$dir\\$ini\") -replace ';(UseSystemProfiles=)1', '${1}0' | Set-Content \"$dir\\$ini\" -Encoding Ascii", " # Migrate from system wide configuration", " $env:LOCALAPPDATA, $env:APPDATA | ForEach-Object {", " if (Test-Path \"$_\\Far Manager\") {", " warn \"Copying system wide profile from $_ into $dir\"", " Copy-Item \"$_\\Far Manager\\*\" \"$dir\" -Recurse -Force", " }", " }", "}" ], "bin": "far.exe", "persist": [ "Profile", "Far.exe.ini" ], "checkver": { "url": "https://farmanager.com/download.php", "regex": "files/Far(?[b\\d]+).x64.(?\\d+).7z" }, "autoupdate": { "architecture": { "64bit": { "url": "https://farmanager.com/files/Far$version.x64.$matchDate.7z" }, "32bit": { "url": "https://farmanager.com/files/Far$version.x86.$matchDate.7z" } } } }