resolve conflict of preferences-registry #8511

This commit is contained in:
tamaina 2022-04-28 03:14:41 +00:00
parent c28758ee17
commit b3ccfa8671

View File

@ -187,7 +187,7 @@ function loadFile() {
async function applyRegistry(id: string) { async function applyRegistry(id: string) {
if (!registries) return; if (!registries) return;
const registry = registries[id]; const registry = structuredClone(registries[id]);
const { canceled: cancel1 } = await os.confirm({ const { canceled: cancel1 } = await os.confirm({
type: 'warning', type: 'warning',