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

Fix all errors when creating the executable file #47

Merged
merged 12 commits into from
Apr 2, 2022
Merged

Fix all errors when creating the executable file #47

merged 12 commits into from
Apr 2, 2022

Conversation

miladsoft
Copy link
Member

No description provided.

@miladsoft miladsoft changed the title Fix some errors when creating the executable file Fix all errors when creating the executable file Apr 1, 2022
Copy link
Member

@sondreb sondreb left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, good you updated the daemon, node and dotnet versions.

A couple of minor fixes and then this will be merged.

@@ -0,0 +1,4 @@
owner: block-core
Copy link
Member

Choose a reason for hiding this comment

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

Remove this file, it should not be included, only used for testing the auto-update feature in development mode.

A comment from electron-userland:

"dev-app-update.yml is only and only for testing during development and unpacked. And it is advanced feature. Consider to test using packed app."

You added this because you get an 404? Instead we should improve the checks in the code.

Consider adding a dependency on this package: https://github.com/sindresorhus/electron-is-dev

Then only running "autoUpdater.checkForUpdates()" in production.

Copy link
Member

Choose a reason for hiding this comment

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

As others comments: "You should not use electron updater in the dev mode."

electron-userland/electron-builder#1505

Copy link
Member Author

Choose a reason for hiding this comment

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

OK . I deleted it.

main.ts Show resolved Hide resolved
package.json Show resolved Hide resolved
@miladsoft miladsoft requested a review from sondreb April 2, 2022 14:22
Copy link
Member

@sondreb sondreb left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@sondreb sondreb merged commit 821b01f into block-core:master Apr 2, 2022
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