Backend fixes: - Wire search service in App struct, implement Search() bindings - Fix OpenFile to use files.Service.Open() instead of stub - Fix OpenFolder to open spaces/<slug>/ instead of vault root - Remove unused imports and dead code in app.go Frontend fixes: - Add missing Svelte plugin to vite.config.js (blocking build error) - Fix optional catch binding for compatibility - Fix select dropdown rendering on Linux (appearance: none + custom arrow) - Switch api/verstak.js to use generated Wails v2 bindings - Include hand-written wailsjs bindings in repository - Add build.sh to repository Build: cd frontend && npm run build rm -rf cmd/verstak-gui/frontend-dist && cp -r frontend/dist cmd/verstak-gui/frontend-dist go build -tags 'gui production webkit2_41' -o verstak-gui ./cmd/verstak-gui
26 lines
673 B
HTML
26 lines
673 B
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/wails.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Верстак</title>
|
|
<style>
|
|
/* Critical reset — no white borders, full viewport */
|
|
html, body, #app {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: #13131f;
|
|
}
|
|
</style>
|
|
<script type="module" crossorigin src="/assets/main-BqdVWy5o.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/main-D8LYjC_e.css">
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|