{ "version": "3.0.6116", "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/Far30b6116.x64.20230311.7z", "hash": "e659a4d15c8d5a428b05057377476a6b7ab3fd0bb2480cdfc2856093f9829343" }, "32bit": { "url": "https://farmanager.com/files/Far30b6116.x86.20230311.7z", "hash": "c57a7f004b75694c4d5930b997069c5165936cf0a1fb8c222f748cd3a2da0270" } }, "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": "(?s)Stable.*?Far Manager v(?[\\d.]+) build (?[\\d]+).*?.x64.(?\\d+).7z", "replace": "${version}.${build}" }, "autoupdate": { "architecture": { "64bit": { "url": "https://farmanager.com/files/Far$majorVersion$minorVersionb$patchVersion.x64.$matchDate.7z" }, "32bit": { "url": "https://farmanager.com/files/Far$majorVersion$minorVersionb$patchVersion.x86.$matchDate.7z" } } } }