From b372575d8e46fd7dd8ac255e23697346b7fbaa84 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Mon, 20 Apr 2020 04:29:19 -0700 Subject: [PATCH] Enable ASAR Summary: Enabled ASAR which should improve startup time and also removes a warning in the build process we've had for ages. It does improve compression in ZIP archives but seems to do the opposite in XZ based on the size tool. It's a bit odd - I'm still checking why that would be. *Update: In my testing, we get a 6-7MB reduction with DEFLATE which is in line with the number below and -2MB with LZMA.* This *could* break things that directly access files, but I have not seen any issues. If any arise, we can manually specify them using `asarUnpack`. Reviewed By: nikoant Differential Revision: D21089067 fbshipit-source-id: 71ddc5c046a3aa3d81b21c0b958490add332614e --- desktop/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/package.json b/desktop/package.json index 4351997b3..21c66c2b3 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -64,7 +64,7 @@ "publisherName": "Facebook, Inc.", "sign": null }, - "asar": false, + "asar": true, "fileAssociations": [ { "ext": [