diff --git a/src/core/Boss.Modules.PackageProcessor.pas b/src/core/Boss.Modules.PackageProcessor.pas index 8ce1593..e83e7fe 100644 --- a/src/core/Boss.Modules.PackageProcessor.pas +++ b/src/core/Boss.Modules.PackageProcessor.pas @@ -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;