Closed dethrace-labs closed 2 months ago
argv[0] was expected to include the full path to the dethrace executable. On windows, this is not true, and only includes the filename.
argv[0]
As a fix, we should only try to chdir if root_dir is not empty or a single character.
chdir
root_dir
thanks for the spotting! I must be tired today :)
argv[0]
was expected to include the full path to the dethrace executable. On windows, this is not true, and only includes the filename.As a fix, we should only try to
chdir
ifroot_dir
is not empty or a single character.