Comments (4)
@malept Hahahahahaha, how did I miss that 😆
It can almost certainly be done there 👍
from forge.
I think a better way is to use a packager hook (one that exists or make a new one) to run electron-compile, and then have Electron Packager run as normal. Is that feasible?
from forge.
@malept The issue is the ASAR file AFAIK. The problem is we must compile in the packaged folder (or we will generate a cache in the development directory). So if we need to generate a cache and the user has generated an ASAR then we can't generate a cache.
So we remove the ASAR request and do it manually afterwords.
from forge.
Sorry if I'm being rather dense about this, but it's not clear to me why the electron-compile step can't work similarly to your proposed electron-rebuild hook.
from forge.
Related Issues (20)
- Feature Request: preStart simple hook HOT 2
- When making a folder using Electron-forge, after installing the exe file, a green boot page will pop up. How to close it? HOT 7
- @electron-forge/publisher-electron maker.clone is not a function HOT 1
- An error is reported after vue is imported HOT 8
- Error during packaging on macOS HOT 10
- The installation of the package printed by electron forge failed
- fix(cli): add descriptive error for node version mismatch
- How to pass environment variables to build ? HOT 5
- [Bug] An error when trying to install forge during import HOT 2
- Plugins are ignored and nothing runs after the generateAssets hook HOT 1
- Unable to package app on macOS using vite-typescript + typeorm library HOT 1
- Codesigning works on M* Mac but not on Intel Mac HOT 2
- @electron-forge/maker-zip don't have v7.4.0, but it install it HOT 2
- Update maker docs or defaults to Fiddle's config HOT 2
- error Couldn't find any versions for "@electron-forge/maker-zip" that matches "^7.4.0" HOT 2
- error when running make/package
- Add option to Vite plugin to filter copied dependencies HOT 10
- Cannot make with latest forge version HOT 3
- Weird PublisherGithub issues with gh action when running `electron-forge publish --arch=arm64,x64` to build macos arm and x64 intel at same time HOT 4
- The 'path' argument must be of type string. Received undefined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forge.