Open toyobayashi opened 1 year ago
I'm not sure if I understand the problem, could you elaborate?
@erikian Sorry for unclear context. I mean, code above shows that the integrity
is computed for original file, not for transformed file. If transform
options is provided, should it compute transformed file integrity to the node.integrity
? Am I right?
https://github.com/electron/asar/blob/c2b4777a4089d19b12327888577e2ffec1cc1dae/lib/filesystem.js#L70-L94
https://github.com/electron/asar/blob/c2b4777a4089d19b12327888577e2ffec1cc1dae/lib/filesystem.js#L94
p
is original file path, while transformed file path ishttps://github.com/electron/asar/blob/c2b4777a4089d19b12327888577e2ffec1cc1dae/lib/filesystem.js#L73