Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
|
||||
const OcrAccuracy = Object.freeze({ Fast: 0, Accurate: 1 });
|
||||
|
||||
async function recognize() {
|
||||
throw new Error(
|
||||
"Nani screenshot OCR is not supported by the unofficial Linux client. " +
|
||||
"Text translation remains available.",
|
||||
);
|
||||
}
|
||||
|
||||
module.exports = { OcrAccuracy, recognize };
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "@napi-rs/system-ocr-linux-x64-gnu",
|
||||
"version": "1.0.2-nani-linux-stub",
|
||||
"private": true,
|
||||
"main": "index.js"
|
||||
}
|
||||
Reference in New Issue
Block a user