asar icon indicating copy to clipboard operation
asar copied to clipboard

`stdincludes.txt` not loaded when called through `PATH`

Open exodustx0 opened this issue 1 year ago • 7 comments
trafficstars

The manual (for both v1.90 and v2) states:

When a file with [the name stdincludes.txt] exists next to the Asar executable, Asar automatically opens it and adds every line in it as an include search path [...]

This is not true if asar is called through PATH, due to argv[0] just being asar.

exodustx0 avatar Aug 09 '24 21:08 exodustx0