mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
Update content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md
Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
@@ -461,7 +461,9 @@ Here we define three utility functions that will transform data we receive from
|
|||||||
2. Modify `index.js` and add `ipcMain` to the imports from the `require('electron')`line. Then add the new helper file at the bottom of the include section:
|
2. Modify `index.js` and add `ipcMain` to the imports from the `require('electron')`line. Then add the new helper file at the bottom of the include section:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
// Step 3 code additions - start
|
||||||
const { app, BrowserWindow, ipcMain} = require('electron')
|
const { app, BrowserWindow, ipcMain} = require('electron')
|
||||||
|
// Step 3 code additions - end
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const xrpl = require("xrpl")
|
const xrpl = require("xrpl")
|
||||||
// Step 3 code additions - start
|
// Step 3 code additions - start
|
||||||
|
|||||||
Reference in New Issue
Block a user