From 68785d216fc7d360572be73dc04c6de6cad7a2c4 Mon Sep 17 00:00:00 2001 From: Mathijs Kadijk Date: Fri, 22 Mar 2024 23:12:53 +0100 Subject: [PATCH] recordkit: Update getting started with rpc path in node_modules --- recordkit/try-electron.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recordkit/try-electron.md b/recordkit/try-electron.md index aa330a6..fc85409 100644 --- a/recordkit/try-electron.md +++ b/recordkit/try-electron.md @@ -27,7 +27,7 @@ import type { ForgeConfig } from '@electron-forge/shared-types'; const config: ForgeConfig = { packagerConfig: { asar: true, - extraResource: ["recordkit-rpc"] // Add this line to forge.config.ts + extraResource: ['node_modules/@nonstrict/recordkit/bin/recordkit-rpc'] // Add this line to forge.config.ts }, rebuildConfig: {}, makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})], @@ -44,7 +44,7 @@ export default config; "name": "my-electron-app", "productName": "my-electron-app", "version": "1.0.0", - "build": { "extraResources": "recordkit-rpc" }, // Add this line to package.json + "build": { "extraResources": "node_modules/@nonstrict/recordkit/bin/recordkit-rpc" }, // Add this line to package.json "devDependencies": { // ... },