SDA-4062 SDA installer / update size reduction

This commit is contained in:
sbenmoussati authored and Salah Benmoussati committed 2023-01-31 09:38:23 +01:00
1 parent 650d13e935
commit 2fd56a08ef
2 files changed
+7 -17

No files matched your search

+2 -8
View File
@@ -72,13 +72,6 @@ class Script
new Dir(@"dictionaries",
new Files(@"..\..\..\dist\win-unpacked\dictionaries\*.*")
),
new Dir(@"library",
new File(@"..\..\..\library\dictionary"),
new File(@"..\..\..\library\indexvalidator-x64.exe"),
new File(@"..\..\..\library\libsymphonysearch-x64.dll"),
new File(@"..\..\..\library\lz4-win-x64.exe"),
new File(@"..\..\..\library\tar-win.exe")
),
new Dir(@"locales",
new Files(@"..\..\..\node_modules\electron\dist\locales\*.*")
),
@@ -115,7 +108,8 @@ class Script
// The build script which calls the wix# builder, will be run from a command environment which has %SYMVER% set.
// So we just extract that version string, create a Version object from it, and pass it to out project definition.
var version = System.Environment.GetEnvironmentVariable("SYMVER");
project.Version = new System.Version(version);
var updatedVersion = version.Replace("-", ".");
project.Version = new System.Version(updatedVersion);
// To get the correct behaviour with upgrading the product, the product GUID needs to be different for every build,
// but the UpgradeCode needs to stay the same. If we wanted to make a new major version and allow it to be installed
+5 -9
View File
@@ -1,7 +1,7 @@
{
"name": "symphony",
"productName": "Symphony",
"version": "23.2.0",
"version": "23.4.0-1",
"clientVersion": "2.0.1",
"buildNumber": "0",
"searchAPIVersion": "1.55.3",
@@ -37,6 +37,7 @@
},
"build": {
"appId": "com.symphony.electron-desktop",
"compression": "maximum",
"artifactName": "${productName}-${version}-${os}.${ext}",
"asar": true,
"asarUnpack": "**/*.node",
@@ -52,6 +53,8 @@
"!.git${/*}",
"!coverage/*",
"!installer/*",
"!dist/*",
"!src/*",
"!tests/*",
"!node_modules/@nornagon/cld/deps/cld${/*}",
"!node_modules/@nornagon/cld/build/deps${/*}",
@@ -62,13 +65,7 @@
"config/Symphony.config",
"config/titleBarStyles.css",
"config/InstallVariant.info",
"dictionaries/**",
"library/libsymphonysearch.dylib",
"library/indexvalidator.exec",
"library/cryptoLib.dylib",
"library/dictionary",
"library/lz4.exec",
"node_modules/screen-share-indicator-frame/SymphonyScreenShareIndicator"
"dictionaries/**"
],
"mac": {
"category": "public.app-category.business",
@@ -213,7 +210,6 @@
"electron-fetch": "1.9.1",
"electron-log": "4.4.8",
"electron-updater": "^5.0.1",
"ffi-napi": "^4.0.3",
"filesize": "6.4.0",
"lazy-brush": "^1.0.1",
"react": "16.14.0",