Skip to content

MacOS x64 build failed while signing with Fatal JavaScript invalid size error with many extraResouces files/folders

Notifications You must be signed in to change notification settings

fdk-app/electron-osx-sign-invalid-size-error

Repository files navigation

electron-vite-osx-sign

An Electron application with React and TypeScript

  • Created with electron-vite
  • www folder contains the assets of https://github.com/stephanrauh/ngx-extended-pdf-viewer and multiple times the "cmaps" to generate more files and is added as "extraResources" in the electron builder config
  • check the ci that builds and signs a macos build -> it fails
  • when you e.g. remove the cmaps folders inside the www folder signing works

Recommended IDE Setup

Project Setup

Install

$ npm install

Development

$ npm run dev

Build

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

About

MacOS x64 build failed while signing with Fatal JavaScript invalid size error with many extraResouces files/folders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published