Skip to content

Commit 8f03ee4

Browse files
committed
fix(windows): buildOutputPath
1 parent c9d9c4f commit 8f03ee4

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

lib/device-path-provider.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ export class DevicePathProvider implements IDevicePathProvider {
5858
device.deviceInfo.platform,
5959
projectData,
6060
);
61+
const buildOutputPath = platformData.getBuildOutputPath({} as never);
62+
if (options.getDirname) {
63+
return buildOutputPath;
64+
}
6165
// Sync into bin\app — the registered package root — so the running app
6266
// picks up changes without a rebuild.
63-
return path.join(
64-
platformData.getBuildOutputPath({} as never),
65-
APP_FOLDER_NAME,
66-
);
67+
return path.join(buildOutputPath, APP_FOLDER_NAME);
6768
}
6869
}
6970

lib/services/build-info-file-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export class BuildInfoFileService implements IBuildInfoFileService {
101101
{
102102
appIdentifier: projectData.projectIdentifiers[platform],
103103
getDirname: true,
104+
projectData,
104105
}
105106
);
106107
const result = helpers.fromWindowsRelativePathToUnix(

0 commit comments

Comments
 (0)