Coder Social home page Coder Social logo

Ship Atom for Windows about electron HOT 5 CLOSED

electron avatar electron commented on May 3, 2024
Ship Atom for Windows

from electron.

Comments (5)

zcbenz avatar zcbenz commented on May 3, 2024

I just added a section on development in Wiki, you can find build instructions there: https://github.com/atom/atom-shell/wiki#development.

Currently many basic features have been implemented for atom-shell on Windows, but there are still a lot of work need to be done:

  1. Native node module support
  2. Window menu API
  3. File dialog API
  4. Auto updater
  5. Crash reporter
  6. Some other little features

Of course the auto updater and crash reporter are not necessary at first.

After the Windows support of atom-shell is done, we need to make sure all native node module used by Atom work well, some of them are heavily platform-dependent (like node-pathwatcher and node-spellchecker), so it would take some time.

After all these had been done, I think we could start working on Atom for Window.

from electron.

anaisbetts avatar anaisbetts commented on May 3, 2024

Native node module support

Can you tell me more about this? I grok everything else but this one I'm not sure I fully understand. Do you mean, being able to compile native node modules?

from electron.

zcbenz avatar zcbenz commented on May 3, 2024

I mean being able to both compile and load native node modules.

Usually with npm, native modules are built against upstream node's headers and libraries (node.lib), so they can not be loaded by atom-shell because atom-shell is using a different version of V8 which is shipped by Chromium.

In order to make atom-shell support native modules, we need to provide our own headers and node.lib, which can tell the linker to link the module to atom-shell's binary, and then use npm or node-gyp to compile modules against them, this part will be done by apm.

In Mac and Linux, this is relative easy because providing correct headers is enough to compile native modules for atom-shell, however in Windows, we need to provide an import library file node.lib, which makes things more complicated because we not only need to link the module to atom-shell's executable, but also the libchromiumcontent.dll.

from electron.

mcolyer avatar mcolyer commented on May 3, 2024

I think we should close this out now and instead focus on the specific remaining issues. Thoughts?

from electron.

zcbenz avatar zcbenz commented on May 3, 2024

Agreed.

from electron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.