Electron 9.0 inouya nePDF muoni inogoneswa nekutadza, zvinowedzera zveLinux uye zvimwe

Kuvhurwa kweshanduro nyowani yepuratifomu kwakaziviswa Erekitironi 9.0, izvo inouya nemhando dzakasiyana dzebug fixes, kugadzirisa, nyowani maficha uye zvakare iyo kugadzirisa kuChromium 83 codebase, Node.js 12.14 chikuva uye V8 8.3 JavaScript injini. Iwo makuru makuru maficha mune iyi vhezheni anosanganisira kuvandudzwa kwehunyanzvi hwewindows chiitiko inobata muLinux, iyo PDF muoni yakagoneswa, uye nezvimwe.

Kune avo vasingazive Electron inofanirwa kuziva kuti iri muchinjika-chikuva desktop desktop sisitimu inoshandisa matekinoroji ewebhu, ane pfungwa inotariswa na JavaScript, HTML uye CSS uye mashandiro acho anogona kuwedzerwa kuburikidza neiyo plug-in system. Iyo inovandudzwa neGitHub uye yakavakirwa paC ++ kuvandudza.

Electron's epakati zvinhu zviri Chromium, Node.js, uye V8. Iwo magadzirirwo akaiswa makodhi muNode.js uye iyo interface inoenderana neChromium maturusi, iyo yakavhurika sosi chikamu cheGoogle Chrome. LNode.js ma module anowanikwa kune vanogadzira, pamwe neiyo yepamusoro API kugadzira yemuno dialog mabhokisi, sanganisa mashandisiro, gadzira mameseji emamiriro ezvinhu, sanganisa neye ziviso yekubuda system, maneja windows uye nekudyidzana neiyo Chromium subsystems.

Kusiyana newebhu webhu, Ectron-based zvirongwa zvinouya zviri zvemafaira akazvimiririra anoshanda izvo zvisina kubatana nebrowser.

Mune ino kesi, iye anovandudza haadi kunetsekana nezve kuisa chikumbiro kune akasiyana mapuratifomu, Electron ichapa kugona kuvaka kune ese maChromium anoenderana masisitimu. Electron inopawo maturusi ekuronga otomatiki kuendesa uye kumisikidza zvekuvandudzwa (zvigadziriso zvinogona kuunzwa kubva kune rakaparadzaniswa server kana zvakananga kubva kuGitHub).

Nyaya inoenderana:
Chrome 83 inosvika pamwe nekuvandudzwa kwekuchengetedzeka uye akati wandei kugadziriswazve, pakati peimwe shanduko

Chii chitsva muElectron 9.0?

Mune iyi vhezheni nyowani yesystem, pamusoro pekusimbisa kuvandudzwa kwezvinhu zvacho (sezvatambotaura pakutanga) kupera kwekutsigira 6.x bazi rakataurwa muchiziviso, saka chero chishandiso chakavakirwa pairi, zvinokurudzirwa kuti iyo yekuvandudza iitwe kune rakatsiga bazi uye kune rimwe divi kutanga kwebasa pane inotevera vhezheni 10.0 inosimbiswawo.

Dzimwe shanduko dzinooneswawo, senge iyo yekumisikidza marongero app.allowRendererProcessReuse iyo yatogoneswa nekutadza. Uku kumisikidzwa hakubvumidze kurodha mune yekupa maitiro enharaunda ma module mamiriro ezvinhu anonzwisisika.

MuIPC, Pakati pechinhu chikuru nemaitiro ekumiririra, Iyo Yakagadziriswa Clone Algorithm inoshandiswa muiyo V8 injini inoshandiswa kuumba yakaoma JavaScript zvinhu. Kuenzaniswa neyakamboshandiswa dhata serialization mashandiro, iyo nyowani algorithm inonyanya kufungidzira, nekukurumidza, uye inoshanda.

Paunenge uchifambisa mabhuru makuru uye zvinhu zvakaomarara, iyo algorithm nyowani ingangoita zvakapetwa nekukurumidza pamwe nekunonoka kusingachinje mukuendesa mameseji madiki.

Iyo zvakare inomira mushanduro iyi nyowani, iyo kuperetera kugona kugona kwakawedzerwa uye a API yekuchengetedza echinyakare mazwi zvinyorwa muduramazwi.

Mune vhezheni yesystem Yepuratifomu yeLinux, kugadziriswa kwezviitiko zvine chekuita newindo kwakagadziridzwa

Uye kuti maAPI anotevera adzikiswa kana kubviswa:

  • shell.openChinhu Iyo API iko zvino yadzikira uye yatsiviwa neasynchronous shell.openPath API.
  • .getWebContents, iyo yakadzikiswa muElectron 8.0, ikozvino yabviswa.
  • webFrame.setLayoutZoomLevelLimits, iyo yakadzorwa muElectron 8.0, ikozvino yabviswa.

Pakupedzisira, kana iwe uchifarira kuziva zvakawanda nezvazvo nezve iyi nyowani vhezheni yesystem, unogona kutarisa ruzivo mune inotevera chinongedzo.

Nzira yekuwana Electron paLinux?

Kune avo vanofarira kugona kumhanyisa kunyorera uye / kana kugona kushanda neElectron mukati meLinux, Isu tinongofanirwa kuve neNode.JS yakaiswa pane ino sisitimu uye iyo NPM package maneja.

Kuisa Node.JS paLinux, unogona kushanyira iyo bhuku kwatinotaura nezve itsva vhezheni yeNode uye pakupera kwayo iwe unowana iyo yekumisikidza mirairo kune mamwe akasiyana Linux migove.

Nyaya inoenderana:
Node.js 14.0 iri uye idzi ndidzo nhau dzayo

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. Raida minda anozivikanwa ne *

*

*

  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