@nger/fk-upload 1.0.170 → 1.0.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/electon.js CHANGED
@@ -53,13 +53,8 @@ async function createWindow() {
53
53
  provide: electron_1.BrowserWindow,
54
54
  useValue: win
55
55
  }], 'root');
56
- win.webContents.closeDevTools();
57
- electron_1.Menu.setApplicationMenu(null);
58
- setTimeout(() => {
59
- win.loadURL('http://localhost:8081/@nger/fk-upload/help');
60
- }, 400);
56
+ win.loadURL('http://localhost:8081/@nger/fk-upload/help');
61
57
  }
62
- //
63
58
  electron_1.app.whenReady().then(() => {
64
59
  createWindow();
65
60
  electron_1.app.on('activate', () => {
@@ -68,3 +63,18 @@ electron_1.app.whenReady().then(() => {
68
63
  }
69
64
  });
70
65
  });
66
+ electron_1.app.on('certificate-error', (e) => {
67
+ console.log(e);
68
+ });
69
+ electron_1.app.on('continue-activity-error', (e) => {
70
+ console.log(e);
71
+ });
72
+ process.on('uncaughtException', (e) => {
73
+ console.log(e);
74
+ });
75
+ process.on('unhandledRejection', (e) => {
76
+ console.log(e);
77
+ });
78
+ process.on('uncaughtExceptionMonitor', (e) => {
79
+ console.log(e);
80
+ });
@@ -21,7 +21,7 @@ function Nav(props) {
21
21
  title: '设置'
22
22
  }];
23
23
  return react_1.default.createElement("div", null,
24
- react_1.default.createElement("link", { href: "https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.6.1/css/bootstrap.min.css", rel: "stylesheet" }),
24
+ react_1.default.createElement("link", { href: "/bootstrap/css/bootstrap.min.css", rel: "stylesheet" }),
25
25
  react_1.default.createElement("nav", { className: "navbar navbar-expand-lg navbar-dark bg-primary" },
26
26
  react_1.default.createElement("div", { className: "collapse navbar-collapse show" },
27
27
  react_1.default.createElement("ul", { className: "navbar-nav mr-auto", style: { display: "flex", flexDirection: 'row' } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.170",
3
+ "version": "1.0.173",
4
4
  "description": "nger fk upload",
5
5
  "main": "dist/electon.js",
6
6
  "types": "dist/core.d.ts",
@@ -27,6 +27,7 @@
27
27
  "@types/react": "^18.0.8",
28
28
  "@types/request": "^2.48.8",
29
29
  "axios": "^0.26.1",
30
+ "bootstrap": "5.2.0-beta1",
30
31
  "cids": "^1.1.9",
31
32
  "download": "^8.0.0",
32
33
  "form-data": "^4.0.0",
package/pnpm-lock.yaml CHANGED
@@ -14,6 +14,7 @@ specifiers:
14
14
  '@types/react': ^18.0.8
15
15
  '@types/request': ^2.48.8
16
16
  axios: ^0.26.1
17
+ bootstrap: 5.2.0-beta1
17
18
  cids: ^1.1.9
18
19
  download: ^8.0.0
19
20
  electron: ^18.2.3
@@ -31,7 +32,7 @@ dependencies:
31
32
  '@nger/core': link:../core
32
33
  '@nger/http': link:../http
33
34
  '@nger/rabbitmq': link:../rabbitmq
34
- '@nger/redis': link:../redis
35
+ '@nger/redis': link:../rest
35
36
  '@nger/schedule': link:../schedule
36
37
  '@nger/typeorm': link:../typeorm
37
38
  '@nger/w7': link:../w7
@@ -40,6 +41,7 @@ dependencies:
40
41
  '@types/react': 18.0.8
41
42
  '@types/request': 2.48.8
42
43
  axios: 0.26.1
44
+ bootstrap: 5.2.0-beta1
43
45
  cids: 1.1.9
44
46
  download: 8.0.0
45
47
  form-data: 4.0.0
@@ -469,6 +471,12 @@ packages:
469
471
  dev: true
470
472
  optional: true
471
473
 
474
+ /bootstrap/5.2.0-beta1:
475
+ resolution: {integrity: sha512-6qbgs177WZEFY4SLQUq3tEHayYG80nfDmyTpdKi0MJqRMdS+HAoq24+YKfx6wf+nHY0rx8zrh477J1lFu4WzOA==}
476
+ peerDependencies:
477
+ '@popperjs/core': ^2.11.5
478
+ dev: false
479
+
472
480
  /boxen/5.1.2:
473
481
  resolution: {integrity: sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==}
474
482
  engines: {node: '>=10'}