Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Migration to BrowserWindow in Electron

Migration to BrowserWindow in Electron

This is a slide for Gotanda.js #12 lightning talk.

https://gotanda.js.org/

Hayato Koriyama

July 26, 2019
Tweet

More Decks by Hayato Koriyama

Other Decks in Technology

Transcript

  1. Migration to BrowserWindow
    in Electron
    Gotanda.js #12
    1

    View full-size slide

  2. nekobato
    ɹFrontend Engineer
    ɹMercari, Inc
    @
    "CPVU.F
    2

    View full-size slide

  3. .Z"QQMJDBUJPO
    4

    View full-size slide

  4. 4VHHFTUJPOGSPNBGSJFOE
    5
    8FCWJFX͸ඇਪ঑ͳͷͰ
    ʘ#SPXTFS7JFXʹͨ͠΄͏͕ྑ͍Ͱ͢Αʗ

    View full-size slide

  5. #SPXTFS7JFX
    7

    View full-size slide

  6. "$BTFPG4MBDL
    8

    View full-size slide

  7. .BJODPOUFOU
    10
    .JHSBUFXFCWJFX
    5P#SPXTFS7JFX

    View full-size slide

  8. 'JSTUTUFQ
    11
    #SPXTFS7JFX͸.BJO1SPDFTTͰ
    ؅ཧ͢Δ

    View full-size slide

  9. *OpOJUZ[JOEFY
    12

    View full-size slide

  10. XFCWJFXNFUIPET
    13
    .BJOQSPDFTTͰߦ͏ඞཁ͕͋ΔͷͰ
    JQD3FOEFSFS͔Βड͚౉͢
    3FOEFSFS
    .BJO

    View full-size slide

  11. 3FHBSEJOH%FW5PPMT
    14
    EFWUPPMTͷ։ดΛೝࣝͯ͠Ӆ͢

    View full-size slide

  12. 1PTJUJPO4J[F-BZPVU
    15
    #SPXTFS7JFX͸.BJO1SPDFTTଆͰ
    ϨΠΞ΢τΛઃఆ͢Δ

    View full-size slide

  13. 1PTJUJPO4J[F-BZPVU
    16
    )PX
    8JOEPX4J[Fʹ߹ΘͤͯXFCWJFXΛՄม
    8FCϨΠΞ΢τʹ߹ΘͤͯXFCWJFXΛՄม

    View full-size slide

  14. 8JOEPX4J[Fʹ߹ΘͤΔ
    17
    8*OEPX4J[Fͷมߋʹ߹Θͤͯຖճ
    TFU#PVOET

    View full-size slide

  15. ϨΠΞ΢τʹ߹ΘͤΔ
    18
    3FOEFSFSͰܭࢉ͔ͯ͠Β.BJOʹ
    #PVOETΛૹΔ
    8JOEPX4J[Fʹ΋ରԠ͍ͨ͠৔߹͸
    POXJMMSFTJ[F3FOEFSFS.BJO

    View full-size slide

  16. 1PTJUJPO4J[F-BZPVU
    19

    View full-size slide

  17. 1PTJUJPO4J[F-BZPVU
    20

    View full-size slide

  18. .JHSBUFXFCWJFXUP#SPXTFS7JFX
    21
    8FCWJFX͔Β#SPXTFS7JFXʹҠߦͯ͠
    Ͱ͖ͳ͘ͳΔ͜ͱ

    View full-size slide

  19. #PSEFSSBEJVTͰؙ͍8FC#SPXTFSΛ࡞Δ
    22
    a

    View full-size slide

  20. "OJNBUJPOΛ෇͚ͯճస͢Δ8FC#SPXTFSΛ࡞Δ
    23

    View full-size slide

  21. $POTMVTJPOPGNJHSBUJPOXFCWJFXUP#SPXTFS7JFX
    24
    .BJOQSPDFTTͰͷ؅ཧ͕ΊΜͲ͍
    %0.Ͱ͋ΔXFCWJFXʹରͯࣗ͠༝౓͸Լ͕Δ
    έʔεͱΞΠσΞʹΑͬͯ͸XFCWJFX͡Όͳ͍ͱࠔΔ
    ͱ͸͍͑XFCWJFXͷࡉ͔͍όά௵͠͸ͭΒ͍
    ؾܰʹʮXFCWJFX͸ඇਪ঑ͳͷͰ#SPXTFS7JFXʹ͠·
    ͠ΐ͏ʯͱ͸ݴΘΕΔͷ΋ͭΒ͍

    View full-size slide