Jump to content

Recommended Posts

Posted

Hello,

 

I was wondering if there is a way to disable the update notification for the desktop version of Draw.io please?

 

We currently get a flood helpdesk requests when they release an update and it would be better for us to control our own update cycle.

 

Thanks

 

PS: The web version isn't an option at the moment unfortunately.

Posted (edited)
I was wondering if there is a way to disable the update notification for the desktop version of Draw.io please?

The Draw.io Electron app doesn't have an official method of disabling the notification, but I have found a way to do it. :)

 

Note. Steps 1-6 only need to be done once. After you have modified the "app.asar" file you can distribute it to any PCs that need the update prompt disabling (assuming they are all running the same version).

 

  1. Download and install 7-Zip (if you don't already have it).
     
     
  2. Download the ASAR plugin for 7-Zip and copy Asar.64.dll to %ProgramFiles%\7-Zip\Formats. Create the folder if it doesn't exist.
     
     
  3. Extract "%ProgramFiles%\draw.io\resources\app.asar" to a folder on your HDD/SSD. e.g. your desktop.
     
     
  4. Open disableUpdate.js in Notepad and change false to true.
     
    module.exports = {
    disableUpdate: function() 
    {
    	return [color="#FF0000"]true[/color];
    }
    }


     

  5. Highlight all of the files/folders that were extracted, right-click > 7-Zip > Add to archive...
     
     
  6. Choose ASAR from the Archive format dropdown. Keep the filename as app.asar and click OK.
     
    vpC7vyP.png
     
     
  7. Copy the new app.asar to "%ProgramFiles%\draw.io\resources\app.asar" (overwriting the existing file).

 

A couple of other options...

 

  • Deploy the Microsoft Store version of the Draw.io app. This doesn't show the update prompt since updates are handled through Windows.
     
     
  • If your users don't need to embed Draw.io diagrams from Google Drive / OneDrive you could simply create a Windows Firewall rule that prevents draw.io.exe from connecting to the Internet.

Edited by Arthur
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...