diff options
| author | ICUMADETHIS <icumadethis@gmail.com> | 2026-11-22 10:19:27 +0000 |
|---|---|---|
| committer | ICUMADETHIS <icumadethis@gmail.com> | 2026-11-22 10:24:32 +0000 |
| commit | 4b63e03b4709b9f3bf1cf8a6c1bb589e4381153d (patch) | |
| tree | 5c79aef54d41729a254bb74d48a75d55be806bca /runtime/src/pe_loader.cpp | |
| parent | f85582e23d4ab9e19acbf694358f137d6b8531b1 (diff) | |
make_game: search the real Downloads, Desktop and Documents for the game
find_dumps() built its roots from the home folder only. With OneDrive's Known
Folder Move, Explorer's Desktop and Documents are ~\OneDrive\Desktop and
~\OneDrive\Documents, two levels below the home root, so a copy kept in them
was never found and Build.bat fell back to asking for the folder.
On Windows, add the folders SHGetKnownFolderPath reports for Downloads,
Desktop and Documents (ctypes, standard library) to the search roots. Folders
that aren't moved are the same as the home-folder roots and are visited once.
default_out() is unchanged, so the port and its work folder never land in a
OneDrive-synced folder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions