Skip to content

Commit 17eda51

Browse files
committed
create resource dir if not exists
1 parent 4fdbc7d commit 17eda51

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/osinstaller/CxInstaller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export class CxInstaller {
5050
async downloadIfNotInstalledCLI(): Promise<void> {
5151
const [_, release] = await CxInstaller.installSemaphore.acquire();
5252
try {
53+
await fs.promises.mkdir(this.resourceDirPath, { recursive: true });
54+
5355
if (this.checkExecutableExists()) {
5456
logger.info('Executable already installed.');
5557
return;

src/main/wrapper/resources/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)