blockbench: use electron.dist
This commit is contained in:
parent
87d85025f8
commit
4de880ad6d
@ -10,9 +10,6 @@
|
||||
electron,
|
||||
}:
|
||||
|
||||
let
|
||||
electronDist = "${electron}/${if stdenv.isDarwin then "Applications" else "libexec/electron"}";
|
||||
in
|
||||
buildNpmPackage rec {
|
||||
pname = "blockbench";
|
||||
version = "4.10.4";
|
||||
@ -45,7 +42,7 @@ buildNpmPackage rec {
|
||||
|
||||
postBuild = ''
|
||||
# electronDist needs to be modifiable on Darwin
|
||||
cp -r ${electronDist} electron-dist
|
||||
cp -r ${electron.dist} electron-dist
|
||||
chmod -R u+w electron-dist
|
||||
|
||||
npm exec electron-builder -- \
|
||||
|
Loading…
Reference in New Issue
Block a user