Skip to content

Commit

Permalink
added directory create
Browse files Browse the repository at this point in the history
  • Loading branch information
snakeice committed Jul 23, 2019
1 parent fbd6be0 commit 253fbea
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 253fbea

Please sign in to comment.