How to avoid Electron application auto update? - electron

How to avoid Electron app auto update?
My Electron application recently acts so weird. When I closed the application the icon on desktop disappear and few minutes later it show again but it becomes the electron-react-boilerplate template on my desktop. I figured out that my electron application auto updated and make my original application gone.
I google how do avoid auto update but nothing I can find either in electron official website or other website.
Does anyone know how to fix it?

If you open main.ts you can find AppUpdater and comment above it about auto-updates. But I don't think that is what happened to you.

Related

How to automatically update Electron app when NSSM keeps it always running

I have an electron app with auto updater working perfectly. I'm able to release a new version and have it auto download and run the latest version. All works great. Now, I also have NSSM running to always make sure that my executable is always running.
However, this is also where the issue is. Because NSSM is always keeping my exe running, it's hard to update it when a new version is available. I'm assuming I'd have to stop NSSM first and then have the exe update itself and then somehow start NSSM remotely again.
How is everyone handling this whole process? Are you somehow handling this in your executable or have another process that handles this? Has anyone been able to do this successfully? I'm having hard time making this work. Just looking for some ideas here.
Am I even going about this the right way or is there any better way to handle this?

Vaadin update from 14.x to 14.7.x causing layout problems. Is there any best practice?

is there any best practice how to update from Vaadin 14.4.x to Vaadin 14.6 or Vaadin 14.7?
Just updating the dependency's will cause that fonts do not look same anymore.
Also the switch to dark mode also does nor work anymore (https://vaadin.com/learn/tutorials/toggle-dark-theme).
As soon as I switch back to 14.4.x all works again.
I am using Java only no Spring.
Do I need to delete any cache or something? I deleted the frontend folder already, but that does not resolve the problem.

Electron BrowserWindow hangs and becomes unresponsive

We have builds of our application for mac and window with the Electron framework. And a lot of our users complain that the application sometimes hangs and becomes unresponsive. The Sentry monitoring shows that we have a lot of reports about that app become unresponsive and a lot of users with that problem. But when the app runs in the native browser, like Google Chrome, it doesn't happen.
Electron version 8.5.1 - this is the last 8.x version now. We can't move on the higher version, because there are some critical things that work correctly only on this one. This one for example - https://github.com/electron/electron/issues/24384 (It's closed but still not working).
Investigation of the Sentry logs didn't help us to understand what's the root of the cause. It happens at different times and we didn't find what it might depend on.
Just a senrty log example:
We made a workaround that helps to reload the application window.
window.on('unresponsive', () => {
// there we can destroy window and create new
});
but it doesn't solve the root of the cause.
Could someone help to solve it or why can it be happening? Maybe someone has the same problems?

Is there a way to just apply changes in iOS simulator without rebuilding the whole app?

I'm asking because this is a feature of android studio and was wondering if xcode or an external thing had something similar?
Yes, there is:
https://apps.apple.com/app/injectioniii/id1380446739 or from here https://github.com/johnno1962/injectionforxcode Also, I think you can get it through Alcatraz too if you have it on your XCode
Also, another tip if you have not made any changes and just want to attach the debugger and run the app without building you can do: CMD+Control+R which will run the app instantly without building.
It's would be very useful feature for development, if the same would be possible with upcoming version.
But unfortunately, as of now, with current latest version of Xcode, it is not possible to apply source code changes without rebuilding an application.
Nice question, it deserves space in Apple Bug Reporter...

Dart app not showing anything in dartium [duplicate]

my Dartium web browser suddenly stopped displaying the content of Polymer application. Even the basic dart-polymer template project (that reversing of text) is not displayed. If you move the cursor to the position of a input box, it changes shape accordingly. Chrome works well.
I can't even remember the action which lead to this. Does Dartium perform auto updates? Yesterday it worked well, then I put the computer to sleep and came today and it doesn't work. I've tried to restart, reinstall etc. Hopeless...
Thanks for ideas
Rene
I recently ran into the same problem. Updating Dart Editor fixed the issue (under Help -> About Dart Editor).

Resources