{
    "version": "0.16.0",
    "description": "A music streaming application",
    "homepage": "https://github.com/agersant/polaris",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://github.com/agersant/polaris/releases/download/0.16.0/Polaris_0.16.0.msi",
            "hash": "faee790cbcf821aa230d7082dbca6cf0dca642b6fcfa8cd87d3b670a3002451b"
        }
    },
    "extract_dir": "Permafrost\\Polaris",
    "pre_install": [
        "ensure \"$persist_dir\" | Out-Null",
        "Copy-Item \"$persist_dir\\db.sqlite\" \"$dir\" -ErrorAction SilentlyContinue -Force"
    ],
    "uninstaller": {
        "script": "Copy-Item \"$dir\\db.sqlite\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force"
    },
    "bin": [
        [
            "polaris.exe",
            "polaris",
            "-w \"$dir\\web\" -s \"$dir\\swagger\" -d \"$dir\\db.sqlite\""
        ]
    ],
    "shortcuts": [
        [
            "polaris.exe",
            "polaris",
            "-w \"$dir\\web\" -s \"$dir\\swagger\" -d \"$dir\\db.sqlite\""
        ]
    ],
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/agersant/polaris/releases/download/$version/Polaris_$version.msi"
            }
        }
    }
}
