/
qrencode.json
26 lines (26 loc) · 1.33 KB
/
qrencode.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
{
"version": "3.4.4",
"description": "Based on popular libqrencode library, provides executable tool to create QR Code images",
"license": "LGPL-2.1",
"url": "http://khudob.in.s3-website-us-west-2.amazonaws.com/releases/qrcodegui_setup-3.4.4.exe",
"homepage": "https://code.google.com/archive/p/qrencode-win32/",
"hash": "b313ee945b8388071ad13e97df2c1072e6adc1315471169c6276ec31ea79b3a2",
"innosetup": true,
"pre_install": "echo \"if(`$MyInvocation.ExpectingInput) { `$input | & $dir\\qrcode.exe @args | Out-String } else { & $dir\\qrcode.exe @args | Out-String }\" | Out-File -Encoding ASCII \"$dir\\qrencode.ps1\"",
"bin": [
"qrencode.ps1",
"qrcodegui.exe"
],
"notes": [
"Due to the fact bundled console .exe files do not call SetConsoleMode() to enable",
"ANSI mode, the origin two console executables qrcode.exe and qrcodecon.exe are",
"not exposed. A custom shim 'qrencode' has been provided that tries to work",
"around some of the incompatibilities. However, output UTF8 to stdout is still",
"non-functional, as that requires changing Windows code page.",
"> Usages:",
"> qrencode -t ANSI 'Hello World'",
"> echo 'Hello World' | qrencode -t ANSI",
"> qrencode -t UTF8 'Hello World' -o QR.txt",
""
]
}