chore: API改为类,成员函数变量增加static关键字 & yarn lint

This commit is contained in:
noe
2022-09-24 11:44:04 +08:00
parent 17436b0e9a
commit cfc10a6aee
25 changed files with 727 additions and 681 deletions

View File

@@ -21,10 +21,7 @@ module.exports = {
nodeIntegration: true,
mainProcessFile: "src/main/index.ts",
mainProcessWatch: ["src/main"],
externals: [
'pouchdb',
'extract-file-icon'
],
externals: ["pouchdb", "extract-file-icon"],
// Use this to change the entry point of your app's render process. default src/[main|index].[js|ts]
builderOptions: {
productName: "rubick2",
@@ -51,10 +48,7 @@ module.exports = {
},
mac: {
icon: "public/icons/icon.icns",
target: [
"dmg",
"pkg"
],
target: ["dmg", "pkg"],
extendInfo: {
LSUIElement: 1,
},