fix: adiciona versao dinamica na interface e notificacao de update
This commit is contained in:
@@ -40,6 +40,12 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
|
||||
// Initialize layout and load config
|
||||
try {
|
||||
if (window.api && window.api.getVersion) {
|
||||
const version = await window.api.getVersion();
|
||||
const badge = document.getElementById('app-version-badge');
|
||||
if (badge) badge.innerText = `Client v${version}`;
|
||||
}
|
||||
|
||||
loadedConfig = await window.api.getConfig();
|
||||
|
||||
// Populate settings form
|
||||
|
||||
Reference in New Issue
Block a user