mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-08-09 14:19:35 +08:00
修复导入bug
This commit is contained in:
parent
3f6e0dbd6c
commit
2d92bc7da9
@ -35,6 +35,10 @@ message = msg => {
|
|||||||
keyTap = utools.simulateKeyboardTap
|
keyTap = utools.simulateKeyboardTap
|
||||||
|
|
||||||
sleep = ms => new Promise((r, j) => setTimeout(r, ms))
|
sleep = ms => new Promise((r, j) => setTimeout(r, ms))
|
||||||
|
|
||||||
|
readFile = fs.readFileSync
|
||||||
|
|
||||||
|
writeFile = fs.writeFileSync
|
||||||
// ------------------------
|
// ------------------------
|
||||||
|
|
||||||
isWin = os.platform() == 'win32' ? true : false;
|
isWin = os.platform() == 'win32' ? true : false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user