Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 956 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 956 Bytes

Electron Sample - config

electron-storeを利用し閉じる直前のウィンドウの位置とサイズをローカルのファイルへ記録、次回起動する際に復元するサンプルです。

解説ページ

準備

Gitでリポジトリを取得します。

$ git clone https://github.com/katsube/electron-sample-config.git

Node.jsがインストールされている環境で以下のコマンドを実行し、必要なライブラリを取得します。

$ cd electron-sample-config
$ npm install

実行方法

以下でプレビューを行います。

$ npm start

ビルドは以下の通り。各OS用のインストーラーが作成されます。

$ npm run build-win
$ npm run build-mac