mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	SkinInstaller: Fixed TEMP path detection (http://rainmeter.net/forum/viewtopic.php?f=5&t=10837)
This commit is contained in:
		@@ -576,7 +576,8 @@ bool ReadArchive()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// Get temp file path for the configuration file/bitmap
 | 
						// Get temp file path for the configuration file/bitmap
 | 
				
			||||||
	WCHAR tempFile[MAX_PATH];
 | 
						WCHAR tempFile[MAX_PATH];
 | 
				
			||||||
	ExpandEnvironmentStrings(L"%TEMP%\\~RainstallerData.TMP", tempFile, MAX_PATH);
 | 
						GetTempPath(MAX_PATH, tempFile);
 | 
				
			||||||
 | 
						GetTempFileName(tempFile, L"dat", 0, tempFile);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	char cBuffer[MAX_PATH * 3];
 | 
						char cBuffer[MAX_PATH * 3];
 | 
				
			||||||
	WCHAR buffer[MAX_PATH];
 | 
						WCHAR buffer[MAX_PATH];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user