Skip to content

Commit

Permalink
Merge pull request #2 from ClementMarrast/master
Browse files Browse the repository at this point in the history
Load from the unpacked section if we are in an ASAR archive
  • Loading branch information
andrewjpritchard authored May 4, 2021
2 parents a1c382d + 4cae6e8 commit a101cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const events = require('events');
const debug = require('debug')('noble-winrt');
const path = require('path');

const BLE_SERVER_EXE = path.resolve(__dirname, 'prebuilt', 'BLEServer.exe');
const BLE_SERVER_EXE = path.resolve(__dirname, 'prebuilt', 'BLEServer.exe').replace('app.asar', 'app.asar.unpacked');

function toWindowsUuid(uuid) {
return '{' + uuid + '}';
Expand Down

0 comments on commit a101cf4

Please sign in to comment.