Skip to content

Commit 8b4ccc1

Browse files
committed
feat: 侧边栏图标UI以及基本布局
1 parent 02fc0e3 commit 8b4ccc1

File tree

126 files changed

+1086
-537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+1086
-537
lines changed

components.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ declare module 'vue' {
1313
ElText: typeof import('element-plus/es')['ElText']
1414
FluentCheckBox: typeof import('./src/components/fluent-ui/FluentCheckBox.vue')['default']
1515
FluentInput: typeof import('./src/components/fluent-ui/FluentInput.vue')['default']
16+
NavBar: typeof import('./src/components/mainwindow/NavBar.vue')['default']
1617
RouterLink: typeof import('vue-router')['RouterLink']
1718
RouterView: typeof import('vue-router')['RouterView']
19+
SideBar: typeof import('./src/components/mainwindow/SideBar.vue')['default']
20+
SvgIcon: typeof import('./src/components/common/SvgIcon.vue')['default']
1821
}
1922
}

electron-builder.json5

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,45 @@
11
// @see - https://www.electron.build/configuration/configuration
22
{
3-
$schema: "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
4-
appId: "cn.programcx",
5-
asar: true,
6-
productName: "Flow Message",
7-
directories: {
8-
output: "release/${version}",
3+
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
4+
"appId": "cn.programcx",
5+
"asar": true,
6+
"productName": "Flow Message",
7+
"directories": {
8+
"output": "release/${version}"
99
},
10-
files: ["dist", "dist-electron"],
11-
mac: {
12-
target: ["dmg"],
13-
artifactName: "${productName}-Mac-${version}-Installer.${ext}",
10+
"files": [
11+
"dist",
12+
"dist-electron"
13+
],
14+
"mac": {
15+
"target": [
16+
"dmg"
17+
],
18+
"artifactName": "${productName}-Mac-${version}-Installer.${ext}",
1419
icon: "public/icon/icon.icns",
1520
},
16-
win: {
17-
target: [
21+
"win": {
22+
"target": [
1823
{
19-
target: "nsis",
20-
arch: ["x64"],
21-
},
24+
"target": "nsis",
25+
"arch": [
26+
"x64"
27+
]
28+
}
2229
],
23-
artifactName: "${productName}-Windows-${version}-Setup.${ext}",
30+
"artifactName": "${productName}-Windows-${version}-Setup.${ext}",
2431
icon: "public/icon/icon.ico",
2532
},
26-
nsis: {
27-
oneClick: false,
28-
perMachine: false,
29-
allowToChangeInstallationDirectory: true,
30-
deleteAppDataOnUninstall: false,
31-
},
32-
linux: {
33-
target: ["AppImage"],
34-
artifactName: "${productName}-Linux-${version}.${ext}",
35-
"icon": "public/icon/icon.png",
33+
"nsis": {
34+
"oneClick": false,
35+
"perMachine": false,
36+
"allowToChangeInstallationDirectory": true,
37+
"deleteAppDataOnUninstall": false
3638
},
37-
}
39+
"linux": {
40+
"target": [
41+
"AppImage"
42+
],
43+
"artifactName": "${productName}-Linux-${version}.${ext}"
44+
}
45+
}

0 commit comments

Comments
 (0)