Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Detected unique file LICENSES.chromium.html" error when building Mas-Dev universal app #6862

Closed
pgenfer opened this issue May 12, 2022 · 1 comment

Comments

@pgenfer
Copy link

pgenfer commented May 12, 2022

  • Electron-Builder Version: 23.0.4
  • Node Version: 17.0.1
  • Electron Version: 18.2.3
  • Electron Type (current, beta, nightly): current
  • Target: mas-dev universal

After updating Electron and ElectronBuilder to the above versions, my packaging process fails with an error message that LICENSES.chromium.html does not exist for both target platforms.

• electron-builder  version=23.0.4 os=21.4.0
  • loaded configuration  file=<path omitted>/electron-builder.mas-dev.yml
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=mas arch=x64 electron=18.2.3 appOutDir=dist/mas-dev-universal--x64
removing unused languages...
  • packaging       platform=mas arch=arm64 electron=18.2.3 appOutDir=dist/mas-dev-universal--arm64
removing unused languages...
  • packaging       platform=mas arch=universal electron=18.2.3 appOutDir=dist/mas-dev-universal
  ⨯ Detected unique file "dist/mas-dev-universal--x64/LICENSES.chromium.html" in "/var/folders/lf/6_fhrlp170g3sh2c0nlkngw00000gn/T/electron-universal-p5drSW/Tmp.app/Contents/Resources/app.asar" not covered by allowList rule: "undefined"  failedTask=build stackTrace=Error: Detected unique file "dist/mas-dev-universal--x64/LICENSES.chromium.html"uml

Any idea what might be the problem here?
Thanks,
Patric

@pgenfer
Copy link
Author

pgenfer commented Jun 26, 2022

Following the conversation of issue #6891, I was able to fix my issue by setting singleArchFiles: "*" in the mac block of my Electron-Builder configuration.

@pgenfer pgenfer closed this as completed Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant