fix: point updater fallback include to LumaRef scriptlet resource
Browse files
src-tauri/src/adblock/updater.rs
CHANGED
|
@@ -16,7 +16,7 @@ const FILTER_URLS: &[(&str, &str)] = &[
|
|
| 16 |
];
|
| 17 |
|
| 18 |
const SCRIPTLETS_URL: &str = "https://raw.githubusercontent.com/gorhill/uBlock/master/assets/resources/scriptlets.js";
|
| 19 |
-
const FALLBACK_SCRIPTLETS: &str = include_str!("../../resources/scriptlets/
|
| 20 |
const UPDATE_INTERVAL: Duration = Duration::from_secs(24 * 60 * 60);
|
| 21 |
|
| 22 |
pub fn spawn_updater(app: AppHandle) {
|
|
|
|
| 16 |
];
|
| 17 |
|
| 18 |
const SCRIPTLETS_URL: &str = "https://raw.githubusercontent.com/gorhill/uBlock/master/assets/resources/scriptlets.js";
|
| 19 |
+
const FALLBACK_SCRIPTLETS: &str = include_str!("../../resources/scriptlets/lumaref_ubo_compatible_scriptlets.js");
|
| 20 |
const UPDATE_INTERVAL: Duration = Duration::from_secs(24 * 60 * 60);
|
| 21 |
|
| 22 |
pub fn spawn_updater(app: AppHandle) {
|