Compare commits

..
3 Commits
Author SHA1 Message Date
devlikepro 7eeafd03b3 [core] fix mongodb
Release / amd64 - chrome - chrome (push) Waiting to run
Release / amd64 - chromium - latest (push) Waiting to run
Release / linux/arm64 - chromium - arm (push) Waiting to run
Release / amd64 - none - noweb (push) Waiting to run
Release / linux/arm64 - none - noweb-arm (push) Waiting to run
2024-09-06 09:32:18 +07:00
devlikepro f88480d271 [core] 2024.9.4 2024-09-06 09:24:10 +07:00
devlikepro 9b8cce85bd [core] Fix operations for empty config sessions - local files 2024-09-06 09:23:45 +07:00
3 changed files with 9 additions and 5 deletions

No files matched your search

+1 -3
View File
@@ -249,9 +249,7 @@ class SessionsController {
return await this.withLock(name, async () => {
const config = request.config;
if (config) {
await this.manager.upsert(name, config);
}
await this.manager.upsert(name, config);
return await this.manager.start(name);
});
}
@@ -18,7 +18,13 @@ export class LocalSessionConfigRepository extends ISessionConfigRepository {
async exists(sessionName: string): Promise<boolean> {
const filepath = this.getFilePath(sessionName);
return await fileExists(filepath);
const exists = await fileExists(filepath);
if (!exists) {
// check directory exist for empty config sessions
const folder = this.store.getSessionDirectory(sessionName);
return await fileExists(folder);
}
return true;
}
async get(sessionName: string): Promise<SessionConfig | null> {
+1 -1
View File
@@ -33,7 +33,7 @@ export function getEngineName(): string {
}
export const VERSION: WAHAEnvironment = {
version: '2024.9.3',
version: '2024.9.4',
engine: getEngineName(),
tier: getWAHAVersion(),
browser: getBrowserExecutablePath(),