problem: nostrocket version information does not show current commit hash and number of commits

resolve https://github.com/nostrocket/hypergolic/issues/106
This commit is contained in:
Bob
2024-08-19 16:01:44 +08:00
parent afe606dcfa
commit 482dfc235c
4 changed files with 66 additions and 53 deletions

View File

@@ -7,6 +7,7 @@
import { onMount } from 'svelte';
import '../app.css';
import SidePanelLayout from '../layouts/SidePanelLayout.svelte';
import { getCommitInfo } from '@/stores/github';
let sessionStarted = false;
let connected = false;
@@ -29,6 +30,7 @@
onMount(() => {
getBitcoinTip();
getCommitInfo(new URL('https://github.com/nostrocket/hypergolic/'));
});
setInterval(