From 089b2410104511147c247b6398b9f5bc56dbc1a0 Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 17 Dec 2019 15:32:10 -0500 Subject: [PATCH] Windows portable_device support: skip the "illegal folder" check for now --- sys/winnt/windmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/winnt/windmain.c b/sys/winnt/windmain.c index 010c11eda..29c12ffbc 100644 --- a/sys/winnt/windmain.c +++ b/sys/winnt/windmain.c @@ -311,8 +311,10 @@ set_default_prefix_locations(const char *programPath) if (test_portable_config(executable_path, portable_device_top_path, sizeof portable_device_top_path)) { +#if 0 if (illegal_dir(portable_device_top_path, executable_path)) windows_startup_state = 2; +#endif fqn_prefix[SYSCONFPREFIX] = executable_path; fqn_prefix[CONFIGPREFIX] = portable_device_top_path; fqn_prefix[HACKPREFIX] = portable_device_top_path;