소스 검색

use App Temp Path replace System Temp Path

MaiXinRong 8 년 전
부모
커밋
4f28f2dbde
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;