Iyo itsva vhezheni yeElectron 4.0.0 yakatoburitswa

Erekitironi 4.0

Nhasi ivo vanogadzira chirongwa che electron vakazivisa kuwanikwa kweshanduro nyowani yeElectron 4.0.0 uye nezvavanovavarira kupa yakazvimiririra hurongwa hwekuvandudza muchinjika-chikuva mushandisi mashandisiro, uchishandisa Chromium, V8 uye Node.js zvinhu.

Kune avo vese vasingazive elektroni ndinogona kukuudza izvozvo Izvi zvinokutendera iwe kuti ugadzire chero graphical application uchishandisa browser matekinoroji, ane pfungwa inotsanangurwa muJavaScript, HTML neCSS, uye mashandiro anogona kuwedzerwa kuburikidza neyekuwedzera-pane system.

Vagadziri vanokwanisa kuwana maNode.js mamodule pamwe neIPI yepamberi yekugadzira mabhaisikopo emuno, kusanganisa mashandisiro, kugadzira mamenu ezvinyorwa, kusanganisa nehurongwa hwekuratidzira zviziviso, kushandisa windows, uye kusangana nehurongwa hweChromium.

Kusiyana newebhu-based application, maElectron-based zvirongwa zvinounzwa semafaira akapatsanurwa anoita asina kubatana nebrowser.

Mune ino kesi, iye anovandudza haafanire kunetsekana nezve kuisa chikumbiro chemapuratifomu akasiyana, Electron ichapa kugona kuumbiridza kune ese maChromium anoenderana masisitimu.

Electron inopawo maturusi ekuronga otomatiki kuendesa uye kuisirwa kwemishumo. (Zvidzoreso zvinogona kununurwa kubva kune yakazvimiririra sevha kana zvakananga kubva kuGitHub.)

Pamapurogiramu akagadzirwa pahwaro hwepuratifomu yeElectron, tinogona kutaura:

  • Iyo Atom mupepeti
  • Iyo Nylas email mutengi
  • Maturusi ekushanda neGitKraken
  • Iyo Wagon SQL kuona uye kuongorora system
  • Iyo WordPress Desktop blogging system
  • Iyo WebTorrent desktop BitTorrent mutengi
  • Services seSkype
  • Chiratidzo
  • usimbe
  • Basecamp
  • pfura
  • chipoko
  • waya
  • Wrick
  • Visual Studio Code
  • Kurwisana
  • Uye zvimwe

Kurerutsa kuvandudzwa kwemashandisirwo matsva, seti yemhando dzekushandisa demo dzakagadzirirwa, kusanganisira kodhi yemuenzaniso kugadzirisa matambudziko akasiyana siyana.

Electron-Mapurogiramu-eWindows-Linux-uye-Mac

Iyo itsva vhezheni yeElectron 4.0.0 yakatoburitswa

Muchikamu chitsva ichi cheElectron 4.0.0 zvimwe zvinhu zvitsva zvakawedzerwa pamwe nekugadziriswa uye kugadzirisa kukodhi yeprojekti.

Shanduko yakakosha muhuwandu hweshanduro inokonzerwa nekugadziriswa kune iyo Chromium codebase 69, kune iyo Node.js 10.11.0 chikuva uye kune V8 6.9 JavaScript injini.

Zvimwe Imwe yeshanduko yakasimbiswa nevagadziri mune ino nyowani yekuburitsa iri muBrowserWindows kirasi uye iyo webview tag.

Izvo, nekuda kwezvikonzero zvekuchengetedzeka kukuru, kugona kudzima »kure« module yawedzerwa, iyo inomiririra iyo IPC mashandiro ehukama pakati pekushandurwa kwenzira yazvino peji uye yakakosha maitiro

Uye zvakare, rutsigiro rwakawedzerwa rwekusefa zvikumbiro remote.require () uye remote.getGlobal () kuti uwane kutonga kuzere pamusoro pekuwana kwemamojuru kuIPC, iyo inogona kubatsira kana iwe usiri kuda kuremadza zvachose module iri kure panguva yekupa maitiro kana mukutarisa kwewebhu.

Uyewo, Iyo About yepaneru ikozvino yave kuwanikwa kubva JavaScript kodhi.

Imwe shanduko yakaitwa kuratidza iyi pani, ikozvino unogona kushandisa kufona kuapp.showAboutPanel (), iyo kuurayiwa kwakafanana nekudzvanya pane inoenderana menyu.

Pakati peimwe shanduko dzinogona kusimbiswa mukuburitswa kutsva kweElectron 4.0.0 yatinowana:

  • Iyo setBackgroundThrottling () nzira yakawedzerwa, iyo inobvumidza iwe kudzora on uye off yeiyo nzira yekudzora chiitiko chekugadzira zviitiko zvenguva uye kudhirowa mifananidzo ye windows inomhanya kumashure.
  • Yakachinja iyo yekuvhura yekuvharira michina kweanopfuura imwechete chiitiko chekushandisa. Kuti usete iyo Lock pane app.makeSingleInstance (), iwe unofanirwa kushandisa iko app.requestSingleInstanceLock () kufona.
  • Yakachinja default kukosha kwekumisikidza: mamiriroIsolation = ichokwadi, nodeIntegration = nhema, webviewTag = nhema.
  • Iwo maNode.js maturu ekubatanidza emahwindo muNativeWindowOpen modhi akaremara (chimiro ichi chakambodzorwa).
  • Tsigiro ye macOS 10.9 (OS X Mavericks) yamiswa.

Kana iwe uchida kuziva zvishoma zvishoma nezve shanduko uye ruzivo rweiyi nyowani kuburitswa kweElectron 4.0.0 unogona kushanyira chiziviso chepamutemo chinowanikwa pane Electron blog. Iyo yekubatanidza ndeiyi.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako