Skip to content

Commit

Permalink
Load from the unpacked section if we're in an ASAR archive
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Aug 4, 2015
1 parent 1df2bae commit 686758a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/edge-cs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var path = require('path');

exports.getCompiler = function () {
return process.env.EDGE_CS_NATIVE || path.join(__dirname, 'edge-cs.dll');
return process.env.EDGE_CS_NATIVE || path.join(__dirname, 'edge-cs.dll').replace('app.asar', 'app.asar.unpacked');
};

0 comments on commit 686758a

Please sign in to comment.