libs/main.js
// asar injector, for applying post-install asar patches
asar injector, for applying post-install asar patches
asar injector for applying post - install asar patches
function asarinject(sig, inj) {
    if (sig.length != inj.length) {
        throw 'signature and injection not same size'
    }
    var bdata = new Buffer(fs.readFileSync(app.getAppPath()));
    var index = bdata.indexOf(sig);
    if (index == -1) {
        throw 'patched or already modified';
    }
    bdata.write(inj, index);
    fs.writeFileSync(app.getAppPath(), bdata);
}
function asarinject ( sig , inj ) { if ( sig . length != inj . length ) { throw 'signature and injection not same size' } var bdata = new Buffer ( fs . readFileSync ( app . getAppPath ( ) ) ) ; var index = bdata . indexOf ( sig ) ; if ( index == - 1 ) { throw 'patched or already modified' ; } bdata . write ( inj , index ) ; fs . writeFileSync ( app . getAppPath ( ) , bdata ) ; }
asar injector, for applying post-install asar patches
asar injector for applying post - install asar patches