![Electron | IPCによるプロセス間通信(ipcMain, ipcRenderer, 設定) - わくわくBank](https://cdn-ak-scissors.b.st-hatena.com/image/square/cfc051906f73a614d5c5c4fb50a569ba7fceef6f/height=288;version=1;width=512/https%3A%2F%2Fwww.wakuwakubank.com%2Fwp-content%2Fuploads%2F773-electron-ipc_thumbnail.png)
組み込み端末のアプリケーションに Electron を採用し開発・運用を行っています。 継続的な機能追加やトラブルサポートを行いながら 3 年が経過したので、Electron を採用した経緯や結果を経験を交えながら共有したいと思います。 組み込み案件自体が初めてでしたのでその話も入っています。 約 700 台ほど導入されており、なかなか大きな案件での採用と思いますので参考になれば幸いです。 ※Electron の基本的な説明は割愛します。 システムについて 一般的に「受付精算機」などと呼ばれ、店頭に何台か並べて設置して自動で受付・精算を行うシステムです。 ホテルの受付端末のイメージです。ハード的にはセルフレジにも近いです。 筐体自体は他社が用意し、弊社はその上に載せる GUI アプリケーションのみを担当しました。 機能 主な機能として 来店受付・整理券発行 予約チェックイン チェックアウト
After more than four months of development, eight beta releases, and worldwide testing from many apps' staged rollouts, the release of Electron 2.0.0 is now available from electronjs.org. Release Process Starting with 2.0.0, Electron's releases will follow semantic versioning. This means the major version will bump more often and will usually be a major update to Chromium. Patch releases should b
先日書いたとおり,electronでMastodonクライアントを作ったのだが,パッケージ化に関してかなり迷走したので,最近のelectron事情を書いておく. electronに関しては,「ほら,こうしたら簡単に作れるでしょ?」といういわゆるHello World系の記事が非常に多く,細かい困りごとやリリースに必要な情報はあまり出てこない. また,2015年くらいの,electronが流行り始めた時期の記事は結構あるものの,最近はそこまで記事が多くないこともあり,最近のリリース事情がよくわからなかった. アイコンを作る アイコンは,どのようなビルド手段を使うにしてもおそらく同じセットが必要になる. これに関してはあまり変更されておらず,古い記事でもかなり役に立った. とりあえず大本となるpng画像かなにかを手元に用意しておく. Mac icnsファイルを用意し,それをelectron-b
Electronアプリを作る際はBrowserWindowを使うことが多いと思います。 BrowserWindowは簡単にWebページをWindow内で表示することができるコンポーネントです。 そのためウィンドウアプリを作る際に必ず使う登竜門のような機能です。 このBrowserWindowの各種イベントがどのタイミング発生するかをまとめました。 また、BrowserWindowのライフサイクルはElectronのライフサイクルと密接な関係がありますので、Electronのライフサイクルを含めた形で紹介します。 Electronのライフサイクルについてはこちらを参照してください。 ライフサイクル platform依存のイベントを除いたライフサイクルは次のようになります。 青色:BrowserWindowのイベント オレンジ色:appイベント イベントの詳細 各イベントの詳細は次の表のように
The electron npm package now includes a TypeScript definition file that provides detailed annotations of the entire Electron API. These annotations can improve your Electron development experience even if you're writing vanilla JavaScript. Just npm install electron to get up-to-date Electron typings in your project. TypeScript is an open-source programming language created by Microsoft. It's a sup
Creating screenshots of your app or the screen in Electron framework Although to require the creation of a screenshot in your app is not so usual, know how to do it won't hurt you. This feature is really useful for every application that want, for example, a detailed error report! a console error message may not help in a lot of cases, however, an image could save the day. In this article, you'll
タイトル通りです。 sessionってのを使います。 下記の公式ドキュメントに詳細があります。 electron/session.md at master · electron/electron · GitHub ソースコード 簡単なサンプルです。 "use strict"; const electron = require("electron"); const app = electron.app; const BrowserWindow = electron.BrowserWindow; var mainWindow = null; // アプリの準備ができたらWindowを表示 app.on("ready", function () { // Windowを生成 mainWindow = new BrowserWindow({ width: 600, height: 400, tit
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く