Closed brunoCaitano-estuda closed 1 year ago
reading the PR, it seems to be a problem that happens in windows. https://github.com/fraserxu/electron-pdf/pull/248
Do you think it's valid to implement an if? @mattsgarlata @jerryorr
if (process.platform !== 'linux') {
args.unshift('--')
}
Seems reasonable, though if that's only needed for Windows, I'd do == 'windows'
(or whatever) instead, so that the behavior doesn't change for macOS.
Perfect, I'll run a test on macOS and return feedback by opening a PR
Perfect, I'll run a test on macOS and return feedback by opening a PR
Ill run the test here @jerryorr
that was not the problem
why does this code exist? it prevents the execution of the --no-sandbox parameter
I'm having trouble mounting a docker image with the same