完成面板视图

This commit is contained in:
fofolee
2022-04-13 00:49:49 +08:00
parent 261aafacce
commit 3cd46df1d7
9 changed files with 121 additions and 42 deletions

View File

@@ -246,15 +246,6 @@ window.pluginInfo = () => {
return JSON.parse(fs.readFileSync(path.join(__dirname, 'plugin.json')))
}
let GetFilePath = (Path, File) => {
if (utools.isDev()) {
return path.join(__dirname, Path, File)
} else {
return path.join(__dirname.replace(/([a-zA-Z0-9\-]+\.asar)/, '$1.unpacked'), Path, File)
}
}
let getSleepCodeByShell = ms => {
var cmd, tempFilePath
if (utools.isWindows()) {