{ "version": "3.69.0", "description": "Lossless trimming tool for video and audio files", "homepage": "https://github.com/mifi/lossless-cut", "license": "GPL-2.0-or-later", "notes": [ "For .mp4 and .mkv file associations, run:", "\"$dir\\install-associations.reg\"" ], "architecture": { "64bit": { "url": "https://github.com/mifi/lossless-cut/releases/download/v3.69.0/LosslessCut-win-x64.7z", "hash": "baf7106576999e1460f918054e3ad4ae38a95469892cc6a1a97b4131f02818e4" } }, "bin": "LosslessCut.exe", "shortcuts": [ [ "LosslessCut.exe", "LosslessCut" ] ], "post_install": [ "$dirpath = \"$dir\".Replace('\\', '\\\\')", "'install-associations', 'uninstall-associations' | ForEach-Object {", " if (Test-Path \"$bucketsdir\\extras\\scripts\\losslesscut\\$_.reg\") {", " $content = Get-Content \"$bucketsdir\\extras\\scripts\\losslesscut\\$_.reg\"", " $content = $content.Replace('$dirpath', $dirpath)", " $content | Set-Content -Path \"$dir\\$_.reg\"", " }", "}" ], "uninstaller": { "script": [ "if ($cmd -eq 'uninstall') {", " $regkey = Get-ItemProperty -Path 'HKCU:\\SOFTWARE\\Classes\\Applications\\LosslessCut.exe' -ErrorAction SilentlyContinue", " if ($regkey) {", " reg import \"$dir\\uninstall-associations.reg\"", " }", "}" ] }, "checkver": "github", "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/mifi/lossless-cut/releases/download/v$version/LosslessCut-win-x64.7z" } } } }