diff options
author | Matthias Lisin | 2019-03-23 21:32:15 +0100 |
---|---|---|
committer | Matthias Lisin | 2019-03-23 21:32:15 +0100 |
commit | 7fe62f849060e5261cc78f634a4303d2d3956534 (patch) | |
tree | d03a534901cd8ebd45ebb5f09972acd67d45c93e /remove-update-check.patch | |
parent | c2a7ed3a4f4658dc633e01788c048a521f3c7d2f (diff) | |
download | aur-7fe62f849060e5261cc78f634a4303d2d3956534.tar.gz |
updpkg: ubports-installer-git 0.2.1_beta.r0.*
Adjusting patches. Sadly we are forced to download the electron :(
I'm sorry, this is JS.
Diffstat (limited to 'remove-update-check.patch')
-rw-r--r-- | remove-update-check.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/remove-update-check.patch b/remove-update-check.patch new file mode 100644 index 000000000000..6bd23c1cb42a --- /dev/null +++ b/remove-update-check.patch @@ -0,0 +1,22 @@ +diff -ura package.orig/src/html/scripts/ui.pug package.new/src/html/scripts/ui.pug +--- package.orig/src/html/scripts/ui.pug 2019-03-23 21:06:10.110844584 +0100 ++++ package.new/src/html/scripts/ui.pug 2019-03-23 21:17:27.400580327 +0100 +@@ -224,18 +224,3 @@ + if (process.platform === "win32") { + modals.show('windows-drivers'); + } +- +- utils.getUpdateAvailable().then((updateAvailable) => { +- if(updateAvailable) { +- utils.log.warn("This is not the latest stable release!") +- if (utils.isSnap()) { +- $("#snap-update-instructions").show(); +- $("#btn-update-installer").hide(); +- } else { +- $("#generic-update-instructions").show(); +- } +- modals.show('new-update'); +- } else { +- utils.log.debug("Running latest stable version."); +- } +- }); |