Bläddra i källkod

use App Temp Path replace System Temp Path

MaiXinRong 8 år sedan
förälder
incheckning
4f28f2dbde
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      Units/UtilMethods.pas

+ 2 - 1
Units/UtilMethods.pas

@@ -857,7 +857,8 @@ end;
 
 function GetTempFilePath: string;
 begin
-  Result := GetTempFileDir + '\';
+  //Result := GetTempFileDir + '\';
+  Result := GetAppTempPath;
 end;
 
 function GetTempName(ALength: Integer): string;