{
    "version": "1.1.1",
    "description": "On-screen annotation software inspired by Epic Pen",
    "homepage": "https://github.com/geovens/gInk",
    "license": "MIT",
    "url": "https://github.com/geovens/gInk/releases/download/v1.1.1/gInk_v1.1.1.zip",
    "hash": "59dc0b93d5cfafd627f15b54a5000034fa0ed16ff48b88e85aa63f1aa7fa1a36",
    "extract_dir": "gInk_v1.1.1",
    "pre_install": [
        "if (-not (Test-Path \"$persist_dir\\config.ini\")) {",
        "    $cur = \"$persist_dir\\Snapshots\\\" -replace '\\\\', '/'",
        "    $c = (Get-Content \"$dir\\config_defaut.ini\") -replace '^(Snapshot_Path =).*$', \"`$1 $cur\"",
        "    Set-Content  \"$dir\\config.ini\" $c -Encoding Ascii -Force",
        "}"
    ],
    "bin": "gInk.exe",
    "shortcuts": [
        [
            "gInk.exe",
            "gInk"
        ]
    ],
    "persist": [
        "Snapshots",
        "config.ini",
        "hotkeys.ini",
        "pens.ini"
    ],
    "checkver": "github",
    "autoupdate": {
        "url": "https://github.com/geovens/gInk/releases/download/v$version/gInk_v$version.zip",
        "extract_dir": "gInk_v$version"
    }
}
