fix(frontend): harden dev startup against ELECTRON_RUN_AS_NODE and sync lockfile name

Unset ELECTRON_RUN_AS_NODE in frontend dev script so Electron runs correctly even when the env var is globally exported.

Align package-lock metadata name from bitcoin-address-generator to wallet-gen.
This commit is contained in:
2026-03-10 13:39:43 +01:00
parent 9115faa6c8
commit 227e9cc356
2 changed files with 3 additions and 3 deletions

View File

@@ -1,11 +1,11 @@
{
"name": "bitcoin-address-generator",
"name": "wallet-gen",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bitcoin-address-generator",
"name": "wallet-gen",
"version": "1.0.0",
"dependencies": {
"react": "^19.2.0",

View File

@@ -6,7 +6,7 @@
"main": "electron/main.cjs",
"scripts": {
"vite": "vite",
"dev": "concurrently --kill-others -n Vite,Electron \"vite\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron .\"",
"dev": "concurrently --kill-others -n Vite,Electron \"vite\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development ELECTRON_RUN_AS_NODE= electron .\"",
"build": "vite build",
"preview": "vite preview",
"dist": "vite build && electron-builder"