2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-22 10:08:55 +00:00

Fix universal app path logic to resolve to absolute (fix #1398)

This commit is contained in:
Adam Weeden 2022-04-19 09:56:16 -04:00 committed by GitHub
parent 3a8f66a7b6
commit c42c63a8b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -315,8 +315,8 @@ export async function buildUniversalApp(options: RawOptions): Promise<string> {
let x64Path: string | undefined; let x64Path: string | undefined;
let arm64Path: string | undefined; let arm64Path: string | undefined;
try { try {
x64Path = await buildNativefierApp(x64Options); x64Path = path.resolve(await buildNativefierApp(x64Options));
arm64Path = await buildNativefierApp(arm64Options); arm64Path = path.resolve(await buildNativefierApp(arm64Options));
const universalAppPath = path const universalAppPath = path
.join( .join(
x64Path, x64Path,