Closed ttodua closed 3 months ago
btw, how can i tell pkg
to use other version instead of 20.11.1 ?
Sincerly I don't think there is much we can do here
btw, how can i tell pkg to use other version instead of 20.11.1 ?
Specify another target or downgrade pkg to use older versions
Specify another target
i use --target=win
, what do you mean in different target plz?
downgrade pkg to use older versions
Do you see it an easy optionality to be added, to specific the version during packaging itself, so we could i.e. pkg --node-version 20.8.2
? if it's easy thing to add I could pushed a PR, just I am not familiar with this repo and it might take me some time
actually it's not possible to provide a custom exec to use for the package but yeah you could send a PR if you want
actually it's not possible to provide a custom exec to use for the package but yeah you could send a PR if you want
would you share 2 words - is it enough just to change the download file version, or it would also need to entail other logical changes across other files?
also, should I seek that change pkg
itself or or pkg-fetch
?
I think it should be done on pkg side as pkg-fetch is used only to fetch the binary and in your case you want to override exactly this part
It's just a false positive, they happen
What version of pkg are you using?
5.11.5
What version of Node.js are you using?
20.12.1
What operating system are you using?
Win 11
What CPU architecture are you using?
x64
What Node versions, OSs and CPU architectures are you building for?
windows
Describe the Bug
Expected Behavior
it shouldn't detect as virus
To Reproduce
you need to have avast free antivirus installed, then do
pkg .