Selaa lähdekoodia

use App Temp Path replace System Temp Path

MaiXinRong 8 vuotta sitten
vanhempi
commit
4f28f2dbde
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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;