node-karin 1.10.7 → 1.10.8
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/CHANGELOG.md +7 -0
- package/dist/index.mjs +0 -14
- package/dist/web/assets/css/index-CG_dRKas.css.br +0 -0
- package/dist/web/assets/js/components-Bfe97cUJ.js.br +0 -0
- package/dist/web/assets/js/entry-BkAwtknL.js.br +0 -0
- package/dist/web/assets/js/hooks-BmMMMnav.js.br +0 -0
- package/dist/web/assets/js/page-404.tsx-DxI0lnTI.js +1 -0
- package/dist/web/assets/js/page-dashboard-DgtEZIey.js.br +0 -0
- package/dist/web/assets/js/page-loading.tsx-R9MyejLO.js.br +0 -0
- package/dist/web/assets/js/page-login.tsx-DVk1uIS7.js.br +0 -0
- package/dist/web/assets/js/{utils-DV3Ugabq.js → utils-DohyAioE.js} +1 -1
- package/dist/web/assets/js/vendor-heroui-BsSXGCwu.js.br +0 -0
- package/dist/web/assets/js/vendor-others-BGzZLgXC.js.br +0 -0
- package/dist/web/assets/js/vendor-react-CRkGRYXV.js.br +0 -0
- package/dist/web/assets/js/vendor-visual-BH1GvI0o.js.br +0 -0
- package/dist/web/index.html +10 -10
- package/package.json +1 -1
- package/dist/web/assets/css/index-Bq0kgume.css.br +0 -0
- package/dist/web/assets/js/components-C8mD5H9u.js.br +0 -0
- package/dist/web/assets/js/entry-B3jpAEDK.js.br +0 -0
- package/dist/web/assets/js/hooks-CrFgaybL.js.br +0 -0
- package/dist/web/assets/js/page-404.tsx-Dbb54KqG.js +0 -1
- package/dist/web/assets/js/page-dashboard-DNNUfIJO.js.br +0 -0
- package/dist/web/assets/js/page-loading.tsx-BUSG9gGO.js.br +0 -0
- package/dist/web/assets/js/page-login.tsx-CotDRIUl.js.br +0 -0
- package/dist/web/assets/js/vendor-heroui-DqoPVa63.js.br +0 -0
- package/dist/web/assets/js/vendor-others-DGUjmv7c.js.br +0 -0
- package/dist/web/assets/js/vendor-react-ZA9Ag8xC.js.br +0 -0
- package/dist/web/assets/js/vendor-visual-CTuViOkk.js.br +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.10.8](https://github.com/KarinJS/Karin/compare/core-v1.10.7...core-v1.10.8) (2025-06-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 回滚部分重启逻辑,更新重启交互引导 ([b5363eb](https://github.com/KarinJS/Karin/commit/b5363ebcd66a7e7812073125ac09b227fa437f71))
|
|
9
|
+
|
|
3
10
|
## [1.10.7](https://github.com/KarinJS/Karin/compare/core-v1.10.6...core-v1.10.7) (2025-06-13)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.mjs
CHANGED
|
@@ -11255,7 +11255,6 @@ var restart, restartDirect;
|
|
|
11255
11255
|
var init_restart = __esm({
|
|
11256
11256
|
"src/utils/system/restart.ts"() {
|
|
11257
11257
|
init_exec();
|
|
11258
|
-
init_config();
|
|
11259
11258
|
restart = async (selfId, contact3, messageId, isFront = true, reloadDeps = false) => {
|
|
11260
11259
|
const options = {
|
|
11261
11260
|
selfId,
|
|
@@ -11284,19 +11283,6 @@ var init_restart = __esm({
|
|
|
11284
11283
|
restartDirect = async (options) => {
|
|
11285
11284
|
const { isPm2 = false, reloadDeps = false } = options || {};
|
|
11286
11285
|
logger.mark("\u6536\u5230\u91CD\u542F\u8BF7\u6C42\uFF0C\u6B63\u5728\u91CD\u542F...");
|
|
11287
|
-
const envCfg = env();
|
|
11288
|
-
if (isPm2 && envCfg.RUNTIME === "node") {
|
|
11289
|
-
const envCfg2 = env();
|
|
11290
|
-
if (envCfg2.RUNTIME === "node") {
|
|
11291
|
-
envCfg2.RUNTIME = "pm2";
|
|
11292
|
-
const envData = Object.entries(envCfg2).map(([key, value]) => ({
|
|
11293
|
-
key,
|
|
11294
|
-
value,
|
|
11295
|
-
comment: value.comment
|
|
11296
|
-
}));
|
|
11297
|
-
writeEnv(envData, void 0, true);
|
|
11298
|
-
}
|
|
11299
|
-
}
|
|
11300
11286
|
if (!isPm2 && process?.send) {
|
|
11301
11287
|
process.send(JSON.stringify({ type: "restart", reloadDeps }));
|
|
11302
11288
|
logger.debug("\u6B63\u5728\u901A\u77E5\u7236\u8FDB\u7A0B\u91CD\u542F...");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./vendor-react-CRkGRYXV.js";import{P as r}from"./components-Bfe97cUJ.js";import"./vendor-others-BGzZLgXC.js";import"./vendor-editor-B8hjWfkw.js";import"./vendor-ui-utils-Bb93SeY3.js";import"./vendor-heroui-BsSXGCwu.js";import"./page-dashboard-DgtEZIey.js";import"./utils-DohyAioE.js";import"./hooks-BmMMMnav.js";import"./vendor-visual-BH1GvI0o.js";const x=()=>t.jsx("div",{className:"min-h-screen flex items-center justify-center",children:t.jsx(r,{})});export{x as default};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as p}from"./vendor-react-
|
|
1
|
+
import{V as p}from"./vendor-react-CRkGRYXV.js";import{a5 as g}from"./components-Bfe97cUJ.js";const u=async(e,a,n,t)=>{const{setIsLogModalOpen:c,setTaskId:i,setTaskLogs:o,setTaskName:f}=a;f("更新插件");const r=["开始创建更新任务...",`options: ${JSON.stringify(e)}`];o(r);try{const s=await g(e);if(s.success&&s.taskId)i(s.taskId),o([...r,`
|
|
2
2
|
任务创建成功!`,`任务ID: ${s.taskId}`,"正在连接任务执行日志..."]),c(!0),typeof t=="function"&&t();else throw new Error(s.message||"未知错误")}catch(s){console.error("更新失败:",s),p.error(`更新失败: ${s.message}`)}};export{u as c};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/web/index.html
CHANGED
|
@@ -14,21 +14,21 @@
|
|
|
14
14
|
content="viewport-fit=cover, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
|
|
15
15
|
name="viewport" />
|
|
16
16
|
<link href="/web/assets/ico/favicon-BoqZd694.ico" rel="icon" />
|
|
17
|
-
<script type="module" crossorigin src="/web/assets/js/entry-
|
|
17
|
+
<script type="module" crossorigin src="/web/assets/js/entry-BkAwtknL.js"></script>
|
|
18
18
|
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-editor-B8hjWfkw.js">
|
|
19
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-others-
|
|
19
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-others-BGzZLgXC.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-ui-utils-Bb93SeY3.js">
|
|
21
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-react-
|
|
22
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-heroui-
|
|
23
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/hooks-
|
|
24
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-visual-
|
|
25
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/components-
|
|
26
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/utils-
|
|
27
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/page-dashboard-
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-react-CRkGRYXV.js">
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-heroui-BsSXGCwu.js">
|
|
23
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/hooks-BmMMMnav.js">
|
|
24
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-visual-BH1GvI0o.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/components-Bfe97cUJ.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/utils-DohyAioE.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/page-dashboard-DgtEZIey.js">
|
|
28
28
|
<link rel="stylesheet" crossorigin href="/web/assets/css/vendor-editor-CFbL2ovg.css">
|
|
29
29
|
<link rel="stylesheet" crossorigin href="/web/assets/css/vendor-others-ZgkIHsf0.css">
|
|
30
30
|
<link rel="stylesheet" crossorigin href="/web/assets/css/components-ep7vm38G.css">
|
|
31
|
-
<link rel="stylesheet" crossorigin href="/web/assets/css/index-
|
|
31
|
+
<link rel="stylesheet" crossorigin href="/web/assets/css/index-CG_dRKas.css">
|
|
32
32
|
</head>
|
|
33
33
|
|
|
34
34
|
<body>
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./vendor-react-ZA9Ag8xC.js";import{P as r}from"./components-C8mD5H9u.js";import"./vendor-others-DGUjmv7c.js";import"./vendor-editor-B8hjWfkw.js";import"./vendor-ui-utils-Bb93SeY3.js";import"./vendor-heroui-DqoPVa63.js";import"./page-dashboard-DNNUfIJO.js";import"./utils-DV3Ugabq.js";import"./hooks-CrFgaybL.js";import"./vendor-visual-CTuViOkk.js";const x=()=>t.jsx("div",{className:"min-h-screen flex items-center justify-center",children:t.jsx(r,{})});export{x as default};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|