Iyo nyowani vhezheni yeElectron 5.0.0 inosvika uye kutsigirwa kwemakumi matatu nematatu kunoenderera

Electron-Mapurogiramu-eWindows-Linux-uye-Mac

Iyo nyowani vhezheni yeElectron 5.0.0 chikuva chave kutove pakati pedu, qIyo inopa inozvimirira yakakwana sisitimu yemazhinji-mushandisi application kuvandudza, uchishandisa Chromium, V8 uye Node.js zvinhu.

Iyi shanduko yakakosha muhuwandu hweshanduro iri nekuda kweyekuvandudza kune iyo Chromium 73 kodhi base, kune iyo Node.js 12 chikuva uye iyo V8 7.3 JavaScript injini. Iko kumbotarisirwa kumbomiswa kwekutsigirwa kwe32-bit Linux masisitimu yakamisikidzwa parizvino uye vhezheni 5.0 inowanikwawo mune makumi matatu nematatu vhezheni.

Nezve Electron

Kune avo vachiri kusaziva Electron, vanofanira kuziva izvozvo fomati iyi inobvumidza kugadzira chero graphical application uchishandisa browser matekinoroji, ane pfungwa inotsanangurwa muJavaScript, HTML neCSS uye mashandiro acho anogona kuwedzerwa kuburikidza nehurongwa hwevamwe.

Vagadziri vanokwanisa kuwana maNode.js module, pamwe neiyo yepamusoro API kuburitsa nhaurirano dzemuno, kusanganisa mashandisiro, kugadzira mameseji emamiriro ezvinhu, kusanganisa nehurongwa kuratidza zviyeuchidzo, kushandisa windows, uye kudyidzana 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 Chromium-inoenderana masystem.

Electron inopawo maturusi ekuronga otomatiki kuendesa uye kumisikidza zvekuvandudzwa (zvigadziriso zvinogona kuunzwa kubva kune rakaparadzana server kana zvakananga kubva kuGitHub)

Kubva pazvirongwa zvakagadzirwa pahwaro hwepuratifomu yeElectron, tinogona kutaura Atom mupepeti, iyo email mutengi Nylas, maturusi ekushanda nawo GitKraken, iyo Wagon SQL query kuona uye kuongorora system, iyo WordPress Desktop blogging system, mutengi WebTorrent Desktop BitTorrent.
Uye zvakare yepamutemo vatengi vevashandi senge Skype, Signal, Slack, Basecamp, Twitch, Ghost, Wire, Wrike, Visual Studio Code, uye Discord.

 

Chii chitsva muElectron 5.0.0?

Sezvambotaurwa pakutanga, kusunungurwa kutsva kwe Electron 5.0.0 inoramba ichitsigira 32-bit masisitimu iyo yakanga yamboziviswa kumiswa kwayo kubva kune zvekare vhezheni (unogona kuverenga chinyorwa nezvazvo Mune inotevera chinongedzo).

Nguva murusununguko urwu vagadziri vakazivisa kuti havachashandi uye ichabviswa mune inotevera vhezheni: mksnapshot inogadziriswa yemaoko neruoko64, ServiceWorker muWebhuContents, inodaidzira kunewebhuFrame.setIsolated *, kugona kufonera chaiko electron.screen, child_process, fs, os, uye nzira ma module (ikozvino iwe unofanirwa kufonera nekure kure uchishandisa mutungamiriri mune yakasarudzika yewebhu zvemukati).

Kana zviri zvitsva zveElectron 5.0.0 isu tinogona kuratidza yakawedzera nharaunda inoshanduka "ELECTRON_DISABLE_SANDBOX" kuremadza sandbox kupatsanurwa, semuenzaniso, kana iko kushanda kuri kutoshanda mune Docker-based mudziyo;

Zvekuwedzera kuchengetedzeka, iyo nodeIntegration uye webviewTag marongero akaremara nekutadza.

Iyo spell checker API inochinjirwa kune isiri-yekuvharira maitiro ekushanda, umo mhedzisiro yecheki inodzoserwa mune asynchronous mode.

Mumapakeji ekushandisa, kuwedzerwa kweiyo default application menyu kunopihwa, kunyangwe kana iko kushanda kusinga tsanangure zvakajeka iyi menyu kana kuwedzera hwindo rekuvhara chiitiko chinobata.

Iyo API inoenderera ichidudzira asynchronous handlers iyo yaimboshandisa callback mafoni kuita fomu yakavakirwa pane Vimbiso mashini.

Saizvozvowo Tsigiro yeVimbiso yakawedzerwa kuCookies API uye mune iyo GetFileIcon app, ZvemukatiTrace nzira. [GetCategories | startRecording | stopRecording], debugger.sendCommand, shell.openExternal, webContents. [loadFile | mutoroURL | zoomLevel | zoomFactor] uye win.capturePage.

Dzimwe shanduko

Yeimwe shanduko huru mukuburitswa uku ndeiyi:

  • Iko kugona kwekuwana ruzivo nezve system system pane macOS uchishandisa systemPreferences.getAccentColor, systemPreferences.getColor, uye systemPreferences.getSystemColor.
  • Iyo process.getProcessMemoryInfo basa, iro rinopa huwandu hwekushandisa ndangariro nemaitiro azvino.
  • Mune "remote" module, inomiririra iyo IPC michina yekudyidzana pakati pezvino rongedzo dhizaini maitiro uye yakakosha maitiro, mamwe mabasa akawedzerwa kusefa zvekunze zvikumbiro zvekutonga kwakazara pamusoro pekuwana IPC.
  • Wakawedzera firita rutsigiro rwekure.getBuiltin, remote.getCurrentWindow, remote.getCurrentWebContents, uye webview.getWebContents.
  • Wakawedzera kugona kubata akawanda zviitiko zveBrowserViews kubva kune imwechete BrowserWindow chinhu.

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