Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto update feature for release #130

Merged
merged 12 commits into from
Aug 3, 2018
Merged

auto update feature for release #130

merged 12 commits into from
Aug 3, 2018

Conversation

HyunmoAhn
Copy link
Member

@HyunmoAhn HyunmoAhn commented Aug 3, 2018

About

Auto Update feature using electron-updater and github release api.
#84

Bug

In MacOS, when download new version and restart for install downloaded file, It doesn't patch new version immediately. It update restart on manual.

I think that It is issue about electron-updater. Refer to electron-updater #2317 issue

## About

Previous Controller is located in IPC communication logic,
So controller subscribe action about only renderer process to main process.

It is improved that controller subscribe every action whaterver main to main or renderer to renderer.

## Issue
When improve Controller, We have global import module issue.
Some local module like `components/i18n/index.js` and `store/createStore` is using both process that main and renderer.
It doesn't matter because we write a code conditionally if it is used in main process or renderer process.
But globally `import` make error. For example, `store/storeMain.js` must use only main process. But It imported in renderer process although not using.
That make error, not using but import!,
So we solve that conditionally import using `require` in ES5.
need to add about promise test
@HyunmoAhn HyunmoAhn self-assigned this Aug 3, 2018
@HyunmoAhn HyunmoAhn merged commit cdf247c into AhKi:feature/preference Aug 3, 2018
@HyunmoAhn HyunmoAhn deleted the feature/auto-updater branch August 3, 2018 08:40
@HyunmoAhn HyunmoAhn mentioned this pull request Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant