Skip to content

Commit

Permalink
engine require
Browse files Browse the repository at this point in the history
  • Loading branch information
Konard committed Jul 18, 2023
1 parent b6338d9 commit 038ad71
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions imports/engine.cjs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { promisify } from 'util';
import { exec } from 'child_process';
import path from 'path';
import * as internalIp from 'internal-ip';
import axios from 'axios';
import Debug from 'debug';
const { promisify } = require('util');
const { exec } = require('child_process');
const path = require('path');
const internalIp = require('internal-ip');
const axios = require('axios');
const Debug = require('debug');
// @ts-ignore
import fixPath from 'fix-path';
import { fileURLToPath } from 'url';
import fs from 'fs';
import { rootPath } from 'root-path-electron';
// import { remote } from 'electron'
import sudo from 'sudo-prompt';
import { json } from 'body-parser';
const fixPath = require('fix-path');
const { fileURLToPath } = require('url');
const fs = require('fs');
const { rootPath } = require('root-path-electron');
// const { remote } = require('electron');
const sudo = require('sudo-prompt');
const { json } = require('body-parser');

const delay = ms => new Promise(resolve => setTimeout(resolve, ms))

Expand Down

0 comments on commit 038ad71

Please sign in to comment.