diff options
author | Matthias Lisin | 2020-03-03 11:56:06 +0100 |
---|---|---|
committer | Matthias Lisin | 2020-03-03 11:56:06 +0100 |
commit | f20096c97a29afc00eb1865ec389b8e9c0efa5ba (patch) | |
tree | e13c2bd9696ff228b96e26a6849147dfe12e25c2 /disable-update-check.patch | |
parent | 2bf258486806d66b22804c170e71b67ce428a1df (diff) | |
download | aur-f20096c97a29afc00eb1865ec389b8e9c0efa5ba.tar.gz |
upgpkg: ubports-installer-git
Electron6
Diffstat (limited to 'disable-update-check.patch')
-rw-r--r-- | disable-update-check.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/disable-update-check.patch b/disable-update-check.patch deleted file mode 100644 index 449a44aa6c64..000000000000 --- a/disable-update-check.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ura package.orig/src/main.js package.new/src/main.js ---- package.orig/src/main.js 2019-11-03 17:16:52.891370653 +0100 -+++ package.new/src/main.js 2019-11-03 17:17:32.026472647 +0100 -@@ -390,20 +390,6 @@ - }); - }); - -- // Task we need only on the first start -- mainWindow.webContents.once("did-finish-load", () => { -- utils -- .getUpdateAvailable() -- .then(() => { -- utils.log.info( -- "This is not the latest version of the UBports Installer! Please update: https://devices.ubuntu-touch.io/installer/" + -- (global.packageInfo.package ? global.packageInfo.package : "") -- ); -- mainWindow.webContents.send("user:update-available"); -- }) -- .catch(() => {}); // Ignore errors, since this is non-essential -- }); -- - mainWindow.loadURL( - url.format({ - pathname: path.join(__dirname, "html/index.pug"), |