mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(main) terminal: add win32 check
This commit is contained in:
parent
2173f203f1
commit
41720c208b
1 changed files with 3 additions and 1 deletions
|
|
@ -107,7 +107,9 @@
|
|||
exports.pipe = pipe = srvrequire('pipe'),
|
||||
exports.socket = srvrequire('socket'),
|
||||
exports.console = srvrequire('console'),
|
||||
exports.terminal = srvrequire('terminal'),
|
||||
exports.terminal = !ISWIN32 ? srvrequire('terminal') : {
|
||||
init: function() {}
|
||||
},
|
||||
exports.express = srvrequire('express'),
|
||||
exports.auth = srvrequire('auth').auth,
|
||||
exports.appcache = srvrequire('appcache'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue