Перейти к основному содержанию

22 постов с тегом "Project News"

Important announcements about the Electron project

Показать все теги

npm install electron

· 3 мин. прочитано

Начиная с версии Electron 1.3.1, вы можете выполнить npm install electron --save-dev для установки последней скомпилированной версии Electron в ваше приложение.


npm install electron

The prebuilt Electron binary

If you've ever worked on an Electron app before, you've likely come across the electron-prebuilt npm package. This package is an indispensable part of nearly every Electron project. When installed, it detects your operating system and downloads a prebuilt binary that is compiled to work on your system's architecture.

The new name

The Electron installation process was often a stumbling block for new developers. Many brave people tried to get started developing an Electron by app by running npm install electron instead of npm install electron-prebuilt, only to discover (often after much confusion) that it was not the electron they were looking for.

This was because there was an existing electron project on npm, created before GitHub's Electron project existed. To help make Electron development easier and more intuitive for new developers, we reached out to the owner of the existing electron npm package to ask if he'd be willing to let us use the name. Luckily he was a fan of our project, and agreed to help us repurpose the name.

Prebuilt lives on

As of version 1.3.1, we have begun publishing electron and electron-prebuilt packages to npm in tandem. The two packages are identical. We chose to continue publishing the package under both names for a while so as not to inconvenience the thousands of developers who are currently using electron-prebuilt in their projects. We recommend updating your package.json files to use the new electron dependency, but we will continue releasing new versions of electron-prebuilt until the end of 2016.

The electron-userland/electron-prebuilt repository will remain the canonical home of the electron npm package.

Many thanks

We owe a special thanks to @mafintosh, @maxogden, and many other contributors for creating and maintaining electron-prebuilt, and for their tireless service to the JavaScript, Node.js, and Electron communities.

And thanks to @logicalparadox for allowing us to take over the electron package on npm.

Updating your projects

We've worked with the community to update popular packages that are affected by this change. Packages like electron-packager, electron-rebuild, and electron-builder have already been updated to work with the new name while continuing to support the old name.

If you encounter any problems installing this new package, please let us know by opening an issue on the electron-userland/electron-prebuilt repository.

For any other issues with Electron, please use the electron/electron repository.

Atom Shell теперь Electron

· 2 мин. прочитано

Atom Shell теперь называется Electron. Вы можете узнать больше о Electron и о том, какие люди строят с ним на своем новом доме electronjs.org.


electron

Electron - это кросс-платформенная оболочка приложений, которую мы изначально создали для редактора Atom для интеграции цикла событий Chromium/Node.js и собственных API.

Когда мы начинали, наша цель была не просто поддерживать потребности текстового редактора. Мы также хотели создать простой фреймворк, которая позволил бы людям использовать веб-технологии для создания кросс-платформенных настольных приложений со всеми встроенными функциями.

За два года Electron неуклонно рос. Теперь он включает в себя автоматические обновления приложений, установщики Windows, отчеты о сбоях, уведомления и другие полезные встроенные функции приложения — все это доступно через API JavaScript. И у нас есть еще над чем поработать. Вы планируем извлечь из Atom ещё больше библиотек, чтобы создание нативного приложения с веб технологиями как можно проще.

На данный момент индивидуальные разработчики, стартапы на ранних стадиях и крупные компании уже создали приложения на Electron. They've created a huge range of apps — including chat apps, database explorers, map designers, collaborative design tools, and mobile prototyping apps.

Check out the new electronjs.org to see more of the apps people have built on Electron or take a look at the docs to learn more about what else you can make.

If you've already gotten started, we'd love to chat with you about the apps you're building on Electron. Email info@electronjs.org to tell us more. You can also follow the new @ElectronJS Twitter account to stay connected with the project.

💙 🔌