[WinFirst] Fix still using require with new Reg
This commit is contained in:
parent
535214b25a
commit
ec4c8921ae
1 changed files with 1 additions and 3 deletions
|
@ -1,10 +1,8 @@
|
|||
const fs = require('fs');
|
||||
const { join, resolve, basename } = require('path');
|
||||
|
||||
const reg = (a, c) => require('child_process').execFile('reg.exe', a, c);
|
||||
|
||||
const Constants = require('./Constants');
|
||||
const reg = require('./utils/registry');
|
||||
const reg = (a, c) => require('child_process').execFile('reg.exe', a, c);
|
||||
|
||||
const exec = process.execPath;
|
||||
const app = resolve(exec, '..');
|
||||
|
|
Loading…
Reference in a new issue