/
alt-ime-ahk.json
30 lines (30 loc) · 1.37 KB
/
alt-ime-ahk.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"version": "0.4.6",
"description": "The keyboard macro tool for simply switches IME just the Alt key.",
"homepage": "https://github.com/karakaram/alt-ime-ahk",
"license": "",
"url": "https://github.com/karakaram/alt-ime-ahk/releases/download/v0.4.6/alt-ime-ahk.zip",
"hash": "3838551e8b9fb65504e8e9af3d9b38b147e9b5af2a651f65b92ba727a95634b2",
"post_install": [
"## Background start",
"Invoke-Expression -command \"& $dir\\alt-ime-ahk.exe\"",
"## Add startup",
"$startup = $(Get-ItemProperty \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\").Startup",
"$WsShell = New-Object -ComObject WScript.Shell",
"$Shortcut = $WsShell.CreateShortcut(\"$startup\\alt-ime-ahk.lnk\")",
"$Shortcut.TargetPath = \"$dir\\alt-ime-ahk.exe\"",
"$Shortcut.IconLocation = \"$dir\\alt-ime-ahk.exe\"",
"$Shortcut.Save()"
],
"uninstaller": {
"script": [
"$startup = $(Get-ItemProperty \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\").Startup",
"Remove-Item \"$startup\\alt-ime-ahk.lnk\" -Force -Recurse"
]
},
"bin": "alt-ime-ahk.exe",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/karakaram/alt-ime-ahk/releases/download/v$version/alt-ime-ahk.zip"
}
}