mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-20 17:01:24 -07:00
build(hachidori): bump fork to upstream 6faca95
Upstream dropped Firefox, so the overlay copy now turns off custom JavaScript from its plain capability flag. The Anki audio fixture follows the removal of media capture options.
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -34,7 +34,7 @@ fs.cpSync(extension, output, { recursive: true });
|
||||
const hostConfiguration = {
|
||||
'overlay-mode.js': [
|
||||
['export const OVERLAY_MODE = false;', 'export const OVERLAY_MODE = true;'],
|
||||
['customJavaScript: !IS_FIREFOX,', 'customJavaScript: false,'],
|
||||
['customJavaScript: true,', 'customJavaScript: false,'],
|
||||
],
|
||||
// Overlay hosts seed the lookup highlight off because their Anki screenshot is
|
||||
// the see-through viewport. SubMiner captures media from mpv, and without the
|
||||
|
||||
@@ -90,7 +90,7 @@ async function mine({ proxy = true, audioFails = false } = {}) {
|
||||
audioSources: [
|
||||
{ id: 'test', enabled: true, type: 'custom', url: 'https://example.test/{term}' },
|
||||
],
|
||||
mediaCapture: { enabled: false },
|
||||
experimental: {},
|
||||
}),
|
||||
readDictionaries: async () => [],
|
||||
engine: async () => ({ ready: true, loading: false, generation: 1 }),
|
||||
|
||||
Vendored
+1
-1
Submodule vendor/hachidori updated: 1b69f32c60...08ec2ba4d0.
Reference in new issue
Block a user