新增MAC、Linux构建并兼容Linux

This commit is contained in:
lyswhut
2019-08-23 19:28:54 +08:00
parent bb40a8612a
commit d6c7fb8dcc
18 changed files with 169 additions and 41 deletions
+4
View File
@@ -0,0 +1,4 @@
export const isLinux = process.platform == 'linux'
export const isWin = process.platform == 'win32'
export const isMac = process.platform == 'darwin'