diff --git a/apps/desktop/build-icons/icon.icns b/apps/desktop/build-icons/icon.icns new file mode 100644 index 00000000..f315f472 Binary files /dev/null and b/apps/desktop/build-icons/icon.icns differ diff --git a/apps/desktop/build-icons/icon.png b/apps/desktop/build-icons/icon.png new file mode 100644 index 00000000..a0af7a14 Binary files /dev/null and b/apps/desktop/build-icons/icon.png differ diff --git a/apps/desktop/electron-builder.json b/apps/desktop/electron-builder.json index c77dd480..220a4d23 100644 --- a/apps/desktop/electron-builder.json +++ b/apps/desktop/electron-builder.json @@ -16,13 +16,12 @@ "asar": false, "mac": { "category": "public.app-category.video", - "target": "dmg" + "target": "dmg", + "icon": "build-icons/icon.icns" }, "win": { - "target": "nsis" - }, - "linux": { - "target": "AppImage" + "target": "nsis", + "icon": "build-icons/icon.ico" }, "nsis": { "oneClick": false, diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index de7fefe2..d7aebbde 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -6,6 +6,12 @@ const nextConfig: NextConfig = { }, reactStrictMode: true, productionBrowserSourceMaps: true, + ...(process.env.ELECTRON_BUILD + ? { + output: "export", + basePath: "", + } + : {}), }; export default nextConfig; diff --git a/apps/web/src/app/api/auth/[...all]/route.ts b/apps/web/src/app/api/auth/[...all]/route.ts deleted file mode 100644 index 1fb57443..00000000 --- a/apps/web/src/app/api/auth/[...all]/route.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { auth } from "@/lib/auth"; -import { toNextJsHandler } from "better-auth/next-js"; - -export const { POST, GET } = toNextJsHandler(auth); \ No newline at end of file