mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-09-27 05:43:21 +08:00
refactor: 将copy
paste
createFile
移入utils
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const { existsSync, readFileSync, writeFileSync, mkdirSync, watch } = require('fs')
|
||||
const { sep } = require('path')
|
||||
const crypto = require('crypto')
|
||||
const listener = require('./listener')
|
||||
const { clipboard } = require('electron')
|
||||
@@ -11,6 +12,7 @@ window.exports = {
|
||||
writeFileSync,
|
||||
mkdirSync,
|
||||
watch,
|
||||
sep,
|
||||
crypto,
|
||||
listener,
|
||||
clipboard,
|
||||
|
Reference in New Issue
Block a user