ScoopInstaller_Main/bucket/qrencode.json
h404bi ccc24e57b6 Init scoop-main bucket
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com>
2019-04-22 20:56:04 +08:00

27 lines
1.3 KiB
JSON

{
"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",
""
]
}