|
|
const textContent = JSON.stringify({ profiles: config.profiles, rules: config.rules, maxParallelWorkers: config.maxParallelWorkers, processInForeground: config.processInForeground }, null, 2);
|
|
const textContent = JSON.stringify({ profiles: config.profiles, rules: config.rules, maxParallelWorkers: config.maxParallelWorkers, processInForeground: config.processInForeground }, null, 2);
|
|
|
const filename = `singlefile-settings-${(new Date()).toISOString().replace(/:/g, "_")}.json`;
|
|
const filename = `singlefile-settings-${(new Date()).toISOString().replace(/:/g, "_")}.json`;
|
|
|
const url = URL.createObjectURL(new Blob([textContent], { type: "text/json" }));
|
|
const url = URL.createObjectURL(new Blob([textContent], { type: "text/json" }));
|