diff --git a/src/backend/drivers/workers/WorkerDriver.ts b/src/backend/drivers/workers/WorkerDriver.ts index 044aafe30..b98ba7b7f 100644 --- a/src/backend/drivers/workers/WorkerDriver.ts +++ b/src/backend/drivers/workers/WorkerDriver.ts @@ -249,6 +249,13 @@ export class WorkerDriver extends PuterDriver { }); } + if (appId) { + await this.services.fs.mkdir(actor.user.id!, { + path: `/${actor.user.username}/AppData/${appId}`, + createMissingParents: true, + }); + } + // Deploy to Cloudflare const cfResult = await this.#cfDeploy( workerName,