Skip to content

Commit

Permalink
Adjusted home path
Browse files Browse the repository at this point in the history
  • Loading branch information
snakeice committed Apr 29, 2019
1 parent 1325aa0 commit 9788397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Boss.Modules.PackageProcessor.pas
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function TBossPackageProcessor.GetBplList(ARootPath: string): TArray<string>;

function TBossPackageProcessor.GetDataCachePath: string;
begin
Result := TPath.GetDocumentsPath + TPath.DirectorySeparatorChar + '..' + TPath.DirectorySeparatorChar +
Result := GetEnvironmentVariable('HOMEDRIVE') + GetEnvironmentVariable('HOMEPATH') + TPath.DirectorySeparatorChar +
C_BOSS_CACHE_FOLDER + TPath.DirectorySeparatorChar + C_DATA_FILE;
end;

Expand Down

0 comments on commit 9788397

Please sign in to comment.