You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
327 B
JavaScript
9 lines
327 B
JavaScript
"use strict";
|
|
|
|
// electron/preload.ts
|
|
var import_electron = require("electron");
|
|
import_electron.contextBridge.exposeInMainWorld("pos", {
|
|
listPrinters: () => import_electron.ipcRenderer.invoke("printers:list"),
|
|
printRaw9100: (host, port, bytes) => import_electron.ipcRenderer.invoke("print:raw9100", host, port, bytes)
|
|
});
|