
Major bug fixes in Susi Desktop
Bug Fixes
What was the issue(s)?
The electron version used in the app was old and had critical security issues. Which was stated by me in this issue made - #105
Clicking the link in the app didnt open the link in new window or browser. This was highlighted by me in this issue - #106
The package manager must be updated to yarn as yarn is cooler than npm. It was stated in this issue - #107
The travis and codacy had conflicts in thier checks which made one of them fail always whiihc was stated in the issue here - #109.
What was the solution?
- For opening the link in another window there were two options
node-openpackage oropen-external. I worked it out withopen externalas it is inbuilt in electron library.
Following code segment was used for it -
webview.addEventListener('new-window', e => {
const protocol = require('url').parse(e.url).protocol;
if (protocol === 'http:' || protocol === 'https:') {
shell.openExternal(e.url);
}
});
- Electron update was done with the correct commad.
npmwas replaced withyarn- For codacy to be configured i alignment with Travis I added
.eslintrc.js. This added config for Codacy to perform checks in a PR.
Technology Stack
- Electron JS.
How to contribute?
Feel free to fork and contribute to codebase.
Click here to go to the repository.
Posted on Utopian.io - Rewarding Open Source Contributors
Leave Major bug fixes in Susi Desktop to:
Read more #utopian-io posts
Best Posts From Mohit Sharma
We have not curated any of ms10398's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Mohit Sharma
- My Actifit Report Card: January 1 2019
- My Actifit Report Card: December 31 2018
- My Actifit Report Card: December 30 2018
- My Actifit Report Card: December 29 2018
- Testing Translations
- This is a title
- Development of Utopian Reviews
- Memeit Development(Front End Changes)
- Major Improvements in Memeit.lol
- Documentation of Open Food Facts Node Wrapper using jsdoc