mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-22 21:26:04 +00:00
Create working directory for workers
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user