diff --git a/scripts/chat.js b/scripts/chat.js
index 6eb15fe57..9fad54237 100644
--- a/scripts/chat.js
+++ b/scripts/chat.js
@@ -114,6 +114,8 @@ function chatInit() {
currentIndex = -1;
};
}
+
+ init();
}
if (document.readyState === 'complete' || document.readyState === 'interactive') {
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 40e87fa2c..de9ed4031 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -7,7 +7,7 @@
},
"package": {
"productName": "ChatGPT",
- "version": "1.0.0"
+ "version": "0.12.0"
},
"tauri": {
"allowlist": {
diff --git a/src/main.scss b/src/main.scss
index 28a1d3b93..58a48ebcb 100644
--- a/src/main.scss
+++ b/src/main.scss
@@ -136,3 +136,7 @@ body,
margin-left: 5px;
}
}
+
+.ant-message {
+ max-width: 500px;
+}
diff --git a/src/view/scripts/config.tsx b/src/view/scripts/config.tsx
index 1eb3b19db..c44aca61c 100644
--- a/src/view/scripts/config.tsx
+++ b/src/view/scripts/config.tsx
@@ -48,23 +48,12 @@ export const scriptColumns = ({ scriptsMap }: any) => [
return shell.open(uri)}>{uri};
},
},
- {
- title: 'Created',
- dataIndex: 'created',
- key: 'created',
- width: 150,
- render: fmtDate,
- },
{
title: 'Action',
fixed: 'right',
width: 100,
render: (_: any, row: any, actions: any) => {
const isExternal = row.name === 'main.js';
-
- const next = scriptsMap?.[row.name]?.next_version;
- const curr = scriptsMap?.[row.name]?.curr_version;
-
return (
[
>
Edit
- {!isExternal && next && next !== curr && (
+ {!isExternal && (