Lokale Dateien implementiert

This commit is contained in:
2026-03-14 20:13:55 +01:00
parent 1a4a22eafd
commit b5eb3b56c0
9 changed files with 249 additions and 178 deletions

View File

@@ -1,5 +1,6 @@
// src/lib/init.ts
import { isBluetoothSupported, isSerialSupported, isInitializing } from './store';
import { refreshLocal } from './sync';
export function getBrowserName(): string {
const ua = navigator.userAgent;
@@ -20,5 +21,8 @@ export function performHardwareCheck() {
isBluetoothSupported.set(hasBT);
isSerialSupported.set(hasSerial);
isInitializing.set(false);
refreshLocal().then(() => {
isInitializing.set(false);
});
}