mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-26 08:11:17 +02:00
Download files using app approach. Fixes #313.
This is done till chrome.downloads works again.
This commit is contained in:
@@ -212,7 +212,7 @@ export function downloadFile(fileName, blob) {
|
||||
a.click();
|
||||
a.remove();
|
||||
}
|
||||
if (window.IS_EXTENSION) {
|
||||
if (false && window.IS_EXTENSION) {
|
||||
chrome.downloads.download(
|
||||
{
|
||||
url: window.URL.createObjectURL(blob),
|
||||
|
Reference in New Issue
Block a user