From 1ef24cbba0db0fa392574595eaa00985a7587e7e Mon Sep 17 00:00:00 2001 From: Erik Moura Date: Mon, 11 Dec 2023 14:26:28 -0300 Subject: [PATCH] chore: replace `asar` with `@electron/asar` (#186) --- package.json | 2 +- src/readmetadata.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4772800..f3684aa 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "dependencies": { "@malept/cross-spawn-promise": "^1.0.0", - "asar": "^3.0.0", + "@electron/asar": "^3.2.5", "debug": "^4.1.1", "fs-extra": "^9.0.0", "glob": "^7.1.4", diff --git a/src/readmetadata.js b/src/readmetadata.js index 5b15c9c..da1f0b1 100644 --- a/src/readmetadata.js +++ b/src/readmetadata.js @@ -2,7 +2,7 @@ const { promisify } = require('util') -const asar = require('asar') +const asar = require('@electron/asar') const fs = require('fs-extra') const glob = promisify(require('glob')) const path = require('path')