mirror of
https://github.com/block/goose.git
synced 2026-10-19 09:34:12 +00:00
fix(desktop): recognize ASAR when validating update target (#12599)
This commit is contained in:
parent
1ce7de7a33
commit
75188ac987
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ const SHARED_DIRECTORY_NAMES = new Set([
|
|||
|
||||
async function pathExists(target: string): Promise<boolean> {
|
||||
try {
|
||||
await fs.access(target);
|
||||
await fs.stat(target);
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue