Skip to content

Commit

Permalink
recordkit: Update getting started with rpc path in node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 committed Mar 22, 2024
1 parent cca9d63 commit 68785d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recordkit/try-electron.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({})],
Expand All @@ -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": {
// ...
},
Expand Down

0 comments on commit 68785d2

Please sign in to comment.