WineVm.js 789 B

123456789101112131415161718192021222324
  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. // 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. }
  23. exports.WineVmManager = WineVmManager;
  24. //# sourceMappingURL=WineVm.js.map