Skip to content

Commit

Permalink
[DDW-596] Faking cache of electron-packager. Removed unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmain committed Dec 22, 2021
1 parent 915842a commit 9e408e6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 467 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"cucumber": "6.0.5",
"cucumber-pretty": "6.0.0",
"del": "6.0.0",
"electron-chromedriver": "16.0.0",
"electron-connect": "0.6.3",
"electron-devtools-installer": "3.2.0",
"electron-packager": "15.4.0",
Expand Down Expand Up @@ -168,7 +167,6 @@
"sass-loader": "12.1.0",
"sinon": "9.2.2",
"spawn-sync": "2.0.0",
"spectron": "14.0.0",
"stream-browserify": "3.0.0",
"stream-http": "3.2.0",
"style-loader": "3.2.1",
Expand Down Expand Up @@ -208,7 +206,7 @@
"classnames": "2.2.6",
"csv-stringify": "5.5.1",
"cucumber-html-reporter": "5.2.0",
"electron": "13.1.1",
"electron": "13.6.3",
"electron-log-daedalus": "2.2.21",
"electron-store": "8.0.0",
"es6-error": "4.1.1",
Expand Down
2 changes: 0 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ let
git python27 curl jq
nodePackages.node-gyp nodePackages.node-pre-gyp
gnumake
chromedriver
pkgconfig
libusb
] ++ (localLib.optionals autoStartBackend [
Expand Down Expand Up @@ -134,7 +133,6 @@ let
${pkgs.patchelf}/bin/patchelf --set-rpath ${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc pkgs.udev ]} ${BUILDTYPE}/usb_bindings.node
${pkgs.patchelf}/bin/patchelf --set-rpath ${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc pkgs.udev ]} ${BUILDTYPE}/HID.node
ln -svf ${daedalusPkgs.electron}/bin/electron ./node_modules/electron/dist/electron
ln -svf ${pkgs.chromedriver}/bin/chromedriver ./node_modules/electron-chromedriver/bin/chromedriver
''}
echo 'jq < $LAUNCHER_CONFIG'
echo debug the node by running debug-node
Expand Down
Loading

0 comments on commit 9e408e6

Please sign in to comment.