Skip to content

Commit

Permalink
Merge pull request #6 from HashLoad/development
Browse files Browse the repository at this point in the history
added directory create
  • Loading branch information
snakeice authored Jul 23, 2019
2 parents aa7a703 + 253fbea commit c389da9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Boss.Modules.PackageProcessor.pas
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ function TBossPackageProcessor.GetEnv(AEnv: string): string;
begin
Result := GetEnvironmentVariable('HOMEDRIVE') + GetEnvironmentVariable('HOMEPATH') + TPath.DirectorySeparatorChar +
C_BOSS_CACHE_FOLDER + TPath.DirectorySeparatorChar + C_ENV + AEnv;

if DirectoryExists(GetEnv(EmptyStr)) then
ForceDirectories(GetEnv(EmptyStr));
end;


Expand Down

0 comments on commit c389da9

Please sign in to comment.