fix: honor automatic updates preference and add Settings controls
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import { readFileSync } from "node:fs";
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const pkg = JSON.parse(readFileSync(new URL("./package.json", import.meta.url), "utf8")) as { version: string; homepage: string };
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
// Public build metadata only; no new runtime Electron version API.
|
||||
env: { LH_VERSION: pkg.version, LH_HOMEPAGE: pkg.homepage },
|
||||
// Desktop target (Electron wrapper, 2026-09-17): standalone output = a
|
||||
// self-contained .next/standalone/server.js the Electron shell spawns
|
||||
// on 127.0.0.1. Harmless for plain web deploys (extra build output).
|
||||
|
||||
Reference in New Issue
Block a user