Skip to content

Commit 7ceb40c

Browse files
authored
Merge pull request #84 from animalnots/dev
v1.16.0
2 parents ae56c75 + 6799773 commit 7ceb40c

File tree

4 files changed

+796
-473
lines changed

4 files changed

+796
-473
lines changed

index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@
2323
<body>
2424
<div id="root"></div>
2525
<div id="modal-root"></div>
26+
<div id="version-info"></div>
2627
<script type="module" src="/src/main.tsx"></script>
28+
<script>
29+
fetch('/package.json')
30+
.then(response => response.json())
31+
.then(data => {
32+
const versionInfo = document.getElementById('version-info');
33+
versionInfo.textContent = `Version: ${data.version}`;
34+
versionInfo.style.position = 'fixed';
35+
versionInfo.style.bottom = '10px';
36+
versionInfo.style.right = '10px';
37+
versionInfo.style.fontSize = '12px';
38+
versionInfo.style.color = '#888';
39+
})
40+
.catch(error => console.error('Error fetching version:', error));
41+
</script>
2742
</body>
2843
</html>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "better-chatgpt",
33
"private": true,
4-
"version": "1.15.0",
4+
"version": "1.16.0",
55
"type": "module",
66
"homepage": "./",
77
"main": "electron/index.cjs",

0 commit comments

Comments
 (0)