UNPKG

789 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.WineVmManager = void 0;
4const wine_1 = require("../wine");
5const vm_1 = require("./vm");
6const path = require("path");
7class WineVmManager extends vm_1.VmManager {
8 constructor() {
9 super();
10 }
11 // eslint-disable-next-line @typescript-eslint/no-unused-vars
12 exec(file, args, options, isLogOutIfDebug = true) {
13 return (0, wine_1.execWine)(file, null, args, options);
14 }
15 // eslint-disable-next-line @typescript-eslint/no-unused-vars
16 spawn(file, args, options, extraOptions) {
17 throw new Error("Unsupported");
18 }
19 toVmFile(file) {
20 return path.win32.join("Z:", file);
21 }
22}
23exports.WineVmManager = WineVmManager;
24//# sourceMappingURL=WineVm.js.map
\No newline at end of file