DinoLauncher
DinoLauncher copied to clipboard
xdelta windows hardocde
// Point to 'xdelta3.exe' in the dumbest way possible
string exeDir = f.currentDirectory + f.xdeltaPath;
```
This wil not work on linux, as xdelta is there provided by the package managers.
This will also not work on macOS, which does not have xdelta3 installed by default.
The .exe extension in the original code may not be required as Windows has a PATHEXT variable that implicitly completes program names with .exe, .bat, .cmd, etc. This means that paths like C:\Apps\something can be executed even if it's something.exe on the filesystem.