Releases: itsMapleLeaf/remix-electron
Releases · itsMapleLeaf/remix-electron
Release 2.0.2
Fixes #26
Release 2.0.1
- fix: use decodeURIComponent to allow fetching public filenames that contain whitespaces (177587e)
2.0.0
Updated for Remix v2, some small template improvements, etc.
1.3.0
Adds support for server-sent events, thanks @jakoblorz!
1.2.2
Bugfix: resolves non-absolute paths relative to the app folder. Should fix cases where assets like css files aren't resolved
Also updated the template to use the latest Remix version
1.2.1
1.2.0
Adds support for the Referer
header
1.1.0
1.0.0
Breaking: The initRemix()
function now accepts the server build instead of the remix config. This update allows using Remix's server build feature with the virtual import; you can now more easily write the electron entry in TS!
// desktop/main.ts
import * as serverBuild from "@remix-run/dev/server-build"
import { initRemix } from "remix-electron"
// ...
const url = await initRemix({ serverBuild })
await createWindow(url)
// remix.config.js
/**
* @type {import('@remix-run/dev/config').AppConfig}
*/
module.exports = {
appDirectory: "app",
assetsBuildDirectory: "public/build",
publicPath: "/build/",
server: "desktop/main.ts",
serverBuildPath: "desktop/build/index.js",
devServerPort: 8002,
ignoredRouteFiles: [".*"],
}