Fix stale app UI (supabase) & overall E2E test infra improvements (#337)
Fixes #269
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import path from "node:path";
|
||||
import os from "node:os";
|
||||
import { IS_TEST_BUILD } from "../ipc/utils/test_utils";
|
||||
|
||||
export function getDyadAppPath(appPath: string): string {
|
||||
if (process.env.E2E_TEST_BUILD) {
|
||||
if (IS_TEST_BUILD) {
|
||||
const electron = getElectron();
|
||||
return path.join(electron!.app.getPath("userData"), "dyad-apps", appPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user