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

Convert to use the electron-installer-common ElectronInstaller class #174

Merged
merged 6 commits into from
Jan 24, 2019

Conversation

malept
Copy link
Member

@malept malept commented Jan 16, 2019

An implementation using electron-userland/electron-installer-common#13. It ends up being more lines of code because there are some other refactors in there, namely adding getMaintainer(), normalizeDescription(), and normalizeProductDescription().

TODO

@malept malept changed the title [WIP] Convert to use the electron-installer-common ElectronInstaller class Convert to use the electron-installer-common ElectronInstaller class Jan 23, 2019
Copy link
Collaborator

@fcastilloec fcastilloec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great except for minor things. The changes are more towards the tests. For example, the test 'with an app with a scoped name' is not needed anymore since that was moved to -common.
I have mixed feelings about 'move LICENSE to Debian-specific location' since that was also moved to -common.
If you're planning on fixing the tests in a different PR, let me know and I'll change this to "approve". Also, should we add codecov here too?

package.json Show resolved Hide resolved
src/installer.js Outdated Show resolved Hide resolved
@malept
Copy link
Member Author

malept commented Jan 24, 2019

I'll delete the tests here.

Also, should we add codecov here too?

In a different PR, I'd say.

@malept
Copy link
Member Author

malept commented Jan 24, 2019

I fixed the too-long-line & removed some duplicate tests.

@malept malept merged commit d0b1b6b into master Jan 24, 2019
@malept malept deleted the installer-class branch January 24, 2019 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants