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