Skip to content

Commit 4f38085

Browse files
committed
新增:增加命令行工具类方法
1 parent b1a85e3 commit 4f38085

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

electron/lib/util.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,10 @@ export const MemoryCacheUtil = {
209209
delete this.pool[key]
210210
}
211211
}
212+
213+
214+
export const ShellUtil = {
215+
quotaPath(p: string) {
216+
return `"${p}"`
217+
}
218+
}

0 commit comments

Comments
 (0)