Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

163
Vistas
Electron builder - publish to local artifactory, and add requestheaders for authentication

I'm trying to understand the Docs regarding custom publishing in electron builder, i have a local artifactory server with authentication, so what i understand so far that when using this option it will automatically upload the newly created artifact to the URL pointed assuming using release, but i also need to be an authentic user in order to upload, i tried adding requestheaders for authentication but i get the following error package.json

`
"publish": {
 "provider": "generic",
 "url": "example.com/aa/bb",
 "requestHeaders":{ "Authorization:":"Basic KEY" }
 }
`

as soon as i try to do this i get this error

  • configuration.publish.requestHeaders has an unknown property 'Authorization'. These properties are valid: object {}

Any help appreciated

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Seems to be the same as this issue in Electron-Builder.

As a workaround, you can try to set the basic credentials in the URL itself:

"publish": {
 "provider": "generic",
 "url": "myuser:mypass@example.com/aa/bb"
 }

(see RFC-1738)

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda