Skip to content

fix: convert file path via vm.toVmFile() in windowsSignAzureManager#9676

Draft
Copilot wants to merge 4 commits intomasterfrom
copilot/fix-file-path-windows-sign-azure-manager
Draft

fix: convert file path via vm.toVmFile() in windowsSignAzureManager#9676
Copilot wants to merge 4 commits intomasterfrom
copilot/fix-file-path-windows-sign-azure-manager

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 12, 2026

On macOS with Parallels, windowsSignAzureManager was passing the raw Mac file path to Invoke-TrustedSigning instead of the translated VM path, causing the command to fail.

Changes

  • windowsSignAzureManager.ts: Apply vm.toVmFile() to options.path before passing it as the Files parameter, consistent with how windowsSignToolManager.ts already handles this.
- Files: options.path,
+ Files: vm.toVmFile(options.path),

This converts Mac-style paths (e.g. /Volumes/CaseSensitive/project/...) to their Windows VM equivalents (e.g. \\Mac\Host\Volumes\CaseSensitive\project\...) before invoking the signing command.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 12, 2026

🦋 Changeset detected

Latest commit: 9fb50a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
app-builder-lib Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-builder Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI changed the title [WIP] Fix improper file path in windowsSignAzureManager on MacOS fix: convert file path via vm.toVmFile() in windowsSignAzureManager Apr 12, 2026
Copilot AI requested a review from mmaietta April 12, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improper file path in windowsSignAzureManager on MacOS with Parallels

2 participants