FN-GM Posted October 14, 2019 Posted October 14, 2019 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.
Arthur Posted October 18, 2019 Posted October 18, 2019 (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). Download and install 7-Zip (if you don't already have it). 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. Extract "%ProgramFiles%\draw.io\resources\app.asar" to a folder on your HDD/SSD. e.g. your desktop. Open disableUpdate.js in Notepad and change false to true. module.exports = { disableUpdate: function() { return [color="#FF0000"]true[/color]; } } Highlight all of the files/folders that were extracted, right-click > 7-Zip > Add to archive... Choose ASAR from the Archive format dropdown. Keep the filename as app.asar and click OK. 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 October 18, 2019 by Arthur 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now