Comments (5)
I think your problem may be with your electron-builder configuration. Try something like this instead:
"build": {
"electronDownload": {
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
}
}
and:
"devDependencies": {
"electron": "https://github.com/castlabs/electron-releases.git#v7.0.0-wvvmp-beta.6",
"electron-builder": "^21.2.0",
}
from electron-releases.
That's perfectly work with
"electronDownload": {
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
}
Thank you for your help ;)
from electron-releases.
Hi,
This happens because v7 of electron-releases is in beta and has not yet been branched from master to 7-0-x. Not sure why electron-builder would look at a non-existent branch though, it should be using the direct links for each release version instead, e.g: https://github.com/castlabs/electron-releases/archive/v7.0.0-wvvmp-beta.7.zip
How does your package.json look?
from electron-releases.
Hi, thanks for your reply.
I put informations about miror for electron-builder.
I tried with your miror but that's crashing cause the folder is named electron-releases-7.0.0-wvvmp-beta.7 instead of electron after unzip, and I got the following error :
⨯ ENOENT: no such file or directory, rename '/home/tal/Dev/electron-client/dist/linux-unpacked/electron' -> '/home/tal/Dev/electron-client/dist/linux-unpacked/electron-client'
"build": {
"electronDownload": {
"mirror": "https://github.com/castlabs/electron-releases/",
"customDir": "archive",
"customFilename": "v7.0.0-wvvmp-beta.7.zip"
},
}
So I downloaded your folder, unzip it, rename folder electron, zip it, and serve it on my github. Now it works :D
"build": {
"electronDownload": {
"mirror": "https://github.com/Tal-telecomsante/electron-7/raw/",
"customDir": "master",
"customFilename": "electron-releases-7-0-x.zip"
},
}
EDIT :
If i don't specify any miror, I go this error from electron-builder :
cannot resolve https://github.com/electron/electron/releases/download/v7.0.0-wvvmp-beta.6/electron-v7.0.0-wvvmp-beta.6-linux-x64.zip: status code 404
My dependencies are :
"dependencies": {
"electron": "https://github.com/castlabs/electron-releases#v7.0.0-wvvmp-beta.6",
"electron-builder": "21.2.0"
}
EDIT 2 :
By this way electron-builder build something not usable. Previously a .deb was created and after installing it I got a bin in /user/bin/electron-app, but now installing the .deb put me a folder in /usr/bin/electron-app containing cli.js, electron.d.ts, index.js and others..
from electron-releases.
I didn't see your latest additions in time for my comment above, the only thing you should need to change is the electronDownload
-config AFAICT.
from electron-releases.
Related Issues (20)
- Error cannot resolve https://github.com/electron/electron/releases/download/v25.2.0+wvcus/electron-v25.2.0+wvcus-win32-x64.zip: status code 404 HOT 3
- VERY STRANGE PROBLEM: Drm Widevine not work in Electron App, but it work in Chrome Browser HOT 1
- relaunch(); only quits HOT 12
- SIGTRAP on Manjaro Linux HOT 7
- Order of operation for EVS signing, MacOS code signing, MacOS notarization HOT 4
- App on windows works as expected but on linux it crashes HOT 2
- components.whenReady() not rejecting on error HOT 4
- Issue with Widevine New Version Impacting Existing Offline Persistence License and Ineffectiveness of --disable-component-update in CastLab Electron Version 17 HOT 7
- Application quit unexpected: EXC_CORPSE_NOTIFY Namespace SIGNAL, Code 5 Trace/BPT trap: 5 HOT 3
- Inquiry about 'widevine-cdm-path' in Castlabs Electron with custom path HOT 6
- Widevine CDM Library removal issue HOT 5
- NixOS Widevine Not Recognized HOT 3
- arm support for Windows using ia32 binaries broken since Electron 25 HOT 2
- Requests made to Widevine licenses server proxy at playback time, despite electron.exe is VPM-signed w/ EVS for production content... HOT 2
- castlabs_evs package is incompatible with cryptography 42.0.0+ HOT 4
- Widevine Content Playback Issue with CastLab Electron Version 22 HOT 8
- Issue with Widevine Persistence Licenses After Updating Castlabs App from 6.0.2 to 22.0.0 HOT 3
- cannot resolve https://github.com/electron/electron/releases/download/v27.0.0+wvcus/electron-v27.0.0+wvcus-win32-x64.zip: status code 404 HOT 6
- Unable to load shaka-player demo or any Widevine DRM protected content on v30.0.0 HOT 5
- Cannot build both mac intel and mac arm on apple m1 using castlab releases >26 when using binary main code HOT 4
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 electron-releases.