mirror of
				https://github.com/hedge-dev/UnleashedRecomp.git
				synced 2025-10-30 07:11:05 +00:00 
			
		
		
		
	Fix mod include directories with backward slashes not working on Linux. (#1444)
This commit is contained in:
		
							parent
							
								
									824405b236
								
							
						
					
					
						commit
						7866765ab0
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -191,7 +191,10 @@ void ModLoader::Init() | |||
|             { | ||||
|                 std::string includeDirU8 = modIni.getString("Main", fmt::format("IncludeDir{}", j), ""); | ||||
|                 if (!includeDirU8.empty()) | ||||
|                 { | ||||
|                     std::replace(includeDirU8.begin(), includeDirU8.end(), '\\', '/'); | ||||
|                     mod.includeDirs.emplace_back(modDirectoryPath / std::u8string_view((const char8_t*)includeDirU8.c_str())); | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             if (!foundModSaveFilePath) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Skyth (Asilkan)
						Skyth (Asilkan)