Adding debian version 7.5.1+dfsg-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
916e3d5336
commit
0684f2243e
10 changed files with 156 additions and 0 deletions
31
debian/patches/debian/0001-disable-first-run-page.patch
vendored
Normal file
31
debian/patches/debian/0001-disable-first-run-page.patch
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
|
||||
Description: Silencing first run/update page.
|
||||
|
||||
diff -Naurp foxyproxy-firefox-extension.orig/src/scripts/background.js foxyproxy-firefox-extension/src/scripts/background.js
|
||||
--- foxyproxy-firefox-extension.orig/src/scripts/background.js 2020-07-29 20:43:31.000000000 +0200
|
||||
+++ foxyproxy-firefox-extension/src/scripts/background.js 2021-03-13 17:58:11.959638800 +0100
|
||||
@@ -49,17 +49,6 @@ chrome.webRequest.onAuthRequired.addList
|
||||
chrome.webRequest.onCompleted.addListener(clearPending, {urls: ['*://*/*']});
|
||||
chrome.webRequest.onErrorOccurred.addListener(clearPending, {urls: ['*://*/*']});
|
||||
|
||||
-chrome.runtime.onInstalled.addListener((details) => { // Installs Update Listener
|
||||
- // reason: install | update | browser_update | shared_module_update
|
||||
- switch (true) {
|
||||
-
|
||||
- case details.reason === 'install':
|
||||
- case details.reason === 'update' && /^(3\.|4\.|5\.5|5\.6)/.test(details.previousVersion):
|
||||
- chrome.tabs.create({url: '/about.html?welcome'});
|
||||
- break;
|
||||
- }
|
||||
-});
|
||||
-
|
||||
// ----------------- User Preference -----------------------
|
||||
chrome.storage.local.get(null, result => {
|
||||
// browserVersion is not used & runtime.getBrowserInfo() is not supported on Chrome
|
||||
@@ -272,4 +261,4 @@ function clearPending(request) {
|
||||
}
|
||||
|
||||
delete authPending[request.requestId]; // no error
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/0001-disable-first-run-page.patch
|
Loading…
Add table
Add a link
Reference in a new issue