Commit Graph

8 Commits

Author SHA1 Message Date
Krzysztof Jelski
1663eea3bf
Add icon to window configuration. (#3365) 2020-08-07 14:21:23 +02:00
Ivan Rukhavets
c4a900f435
Log update logs to file instead of showing dialogs (#3043)
* Log update logs to file instead of showing dialogs

* fix lint

* remove lind-disable comment
2020-06-25 10:49:01 +02:00
Krzysztof Jelski
f8f7eedad3
Improve Electron App security (#2923)
* WIP on storing accounts without electron remote modules.

* Improve security by isolating main and renderer.

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-10 18:09:55 +02:00
Jakub Jóźwiak
a7e2a3b313
Electron updater (#2817)
* Add autoUpdater

* Fix electron auto updater

* Remove unused dependency

* Remove unused async in createWindow function

* fix yarn.lock

* Move updater and createWindow into single func

* Add dialogs

* Reconcile package.json with master.

* Reorder imports.

* Add toggle to control the autoupdate feature.

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* Fix linting errors.

* Remove eslint-disables

* yarn.lock

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
2020-06-01 17:55:11 +02:00
Jakub Jóźwiak
00356a75d5
Remove webpack dev server (#2821)
* Remove webpack-dev-server and move alias into base webpack config

* Fix typo
2020-05-27 07:44:02 +02:00
Jakub Jóźwiak
e4813784d3
Fix releasing of electron app (#2816) 2020-05-26 16:27:20 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Krzysztof Jelski
e38b27ad90
Basic Electron App setup (#2765)
* Basic Electron setup.

* wip

* Integrate electron with react components from apps workspace

* Refactor package.json scripts.

* Copy public files from apps.

* Import 'initSettings' from apps workspace, fix code style, move scripts into global package.json

* Add build electron step into CI

* Split webpack file into renderer and main

* Add HMR into renderer.config

* Add optimization process in main webpack configuration

* Add ts translation in main webpack config and fix electron start script

* Update dependencies.

* Update dependencies. Change package name.

* Move initSettings func into Api component

* Extract webpack base config and move initSettings into react-api

* Fix webpack config and simplify initSettings import

* WIP on packing electron app (electron.ts doesnt have relative path)

* Fix relative path to the main index.html

* Add README in electron package, update main package.json scripts, add mention about electron-package in main README

* Remove unused dependencies form electron package.json

* Missing file from merge

* Fix main README and change name field in main package.json

* Update dependencies.

* Remove old webpack-dev-serve (creating issues with plugin)

Co-authored-by: jozwiak <kubencki@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-05-20 13:29:25 +02:00