diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 991ba7d9..00000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -install-strategy = "nested" \ No newline at end of file diff --git a/electron/package.json b/electron/package.json index 4ea1c725..4b120183 100644 --- a/electron/package.json +++ b/electron/package.json @@ -47,7 +47,7 @@ "@types/node": "20.8.9", "@types/split": "^1.0.0", "electron": "20.3.12", - "electron-builder": "24.8.0", + "electron-builder": "24.7.0", "@electron/notarize": "^2.1.0", "eslint": "^7.25.0", "eslint-plugin-import": "^2.22.1" diff --git a/package.json b/package.json index 132490c0..dec5e43c 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "pm2": "^5.1.1" }, "devDependencies": { - "typescript": "^5.1.6" + "typescript": "^5.1.6", + "electron-builder": "24.8.0" } } diff --git a/scripts/copy-binaries.sh b/scripts/copy-binaries.sh index 4074c469..fb44a098 100755 --- a/scripts/copy-binaries.sh +++ b/scripts/copy-binaries.sh @@ -3,13 +3,13 @@ echo $OSTYPE if [[ $OSTYPE == 'darwin'* ]]; then - cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner + cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner elif [[ $OSTYPE == 'linux-gnu'* ]]; then - cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner + cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner elif [[ $OSTYPE == "cygwin" ]]; then # POSIX compatibility layer and Linux environment emulation for Windows - cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe + cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe elif [[ $OSTYPE == "msys" ]]; then # Lightweight shell and GNU utilities compiled for Windows (part of MinGW) - cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe + cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe fi