Electron/Electron Builder get info about binary
We are distributing our Electron app for Macs using Intel and also Apple Silicon. We are using electron-builder.
Electron/Electron Builder get info about binary
We are distributing our Electron app for Macs using Intel and also Apple Silicon. We are using electron-builder.
how to import my js file to the main/index.js pre-compilation , not after compilation?
I use electron-vite command pnpm create @quick-start/electron
init a project
i am get this error while build my electron-vite project
workingDir=C:UsershpAppDataLocalelectron-builderCachewinCodeSign • Above command failed, retrying 3 more times • downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z size=5.6 MB parts=1 • downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z duration=2m29.064s ⨯ cannot execute cause=exit status 2 out= 7-Zip (a) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26 Scanning the drive for archives: 1 file, 5635384 bytes (5504 KiB) Extracting archive: C:UsershpAppDataLocalelectron-builderCachewinCodeSign380855827.7z — Path = […]
Build an Electron App (generate build & setup)
there,
How to programmatically sign .exe with Electron-Builder?
While attempting to make autoupdates work on windows with electron, I have encountered the error “New version not signed by application owner”
Import npm package from extraResources JS file in Electron fails
In my extraResources directory, I have a batch.js file that imports npm packages.
I exec()
a child process in the main electron process to run the batch.js file. The command looks like this: exec('node ${process.extraResources}/extra_resources/batch.js')
.
The batch.js file runs seamlessly in the Development mode, but when I build the app, batch.js file fails to load the npm packages.
Is it possible to set a CLSID on Electron apps built using electron-builder?
In the Electron docs related to notifications, it claims your application needs to have a start menu shortcut containing both an AppUserModelID and a corresponding ToastActivatorCLSID.
fs createwritestream downloads files to appdata
So I made a launcher/patcher for a game, where the launcher downloads files from a manifest and should add them to the current working folder.