epsitec-sa / hazardous

Overload Electron path module for asar.unpacked support
68 stars 6 forks source link

Removed dependency to "asar" #1

Closed kloener closed 7 years ago

kloener commented 7 years ago

Hi,

I removed the "asar" dependency and replaced to "unpacked"-check by using fs.existsSync instead to avoid an error that occurred in my project where "asar" package couldn't be found. Your tests are still working.

asar-error

Additionally, I added a yarn lockfile.

regards, Christian

Skywalker13 commented 7 years ago

I've split your work in multiple commits, thanks..
good idea for the fs.existsSync

Skywalker13 commented 7 years ago

@kloener: see version hazardous@0.3.0