{ "version": "30b6000", "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/Far30b6000.x64.20220723.7z", "hash": "d765fed989ba043dc5b153dc24946aa5f50bc0b1582d3f9823f4c166455c113e" }, "32bit": { "url": "https://farmanager.com/files/Far30b6000.x86.20220723.7z", "hash": "8fc7459a82ab0ca28166cac890c76971eba28f37de405e9a9b873951ff50d6c8" } }, "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" } } } }