@upsoft/patchkit-launcher-runtime-base 2.0.0-alpha.31 → 2.0.0-alpha.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/$local-index.d.ts +4 -0
  2. package/dist/$local-index.d.ts.map +1 -1
  3. package/dist/$local-index.js +4 -0
  4. package/dist/$local-index.js.map +1 -1
  5. package/dist/convert-unversioned-settings-to-settings-1.d.ts.map +1 -1
  6. package/dist/convert-unversioned-settings-to-settings-1.js +2 -0
  7. package/dist/convert-unversioned-settings-to-settings-1.js.map +1 -1
  8. package/dist/discover-and-adopt-legacy-app-branch-install.d.ts +19 -0
  9. package/dist/discover-and-adopt-legacy-app-branch-install.d.ts.map +1 -0
  10. package/dist/discover-and-adopt-legacy-app-branch-install.js +98 -0
  11. package/dist/discover-and-adopt-legacy-app-branch-install.js.map +1 -0
  12. package/dist/export-runtime-default-api-funcs.d.ts.map +1 -1
  13. package/dist/export-runtime-default-api-funcs.js +6 -0
  14. package/dist/export-runtime-default-api-funcs.js.map +1 -1
  15. package/dist/fetch-config.js +2 -2
  16. package/dist/fetch-should-suggest-legacy-app-branch-install-adoption.d.ts +19 -0
  17. package/dist/fetch-should-suggest-legacy-app-branch-install-adoption.d.ts.map +1 -0
  18. package/dist/fetch-should-suggest-legacy-app-branch-install-adoption.js +72 -0
  19. package/dist/fetch-should-suggest-legacy-app-branch-install-adoption.js.map +1 -0
  20. package/dist/get-legacy-app-branch-install-root-dir-path.d.ts +5 -0
  21. package/dist/get-legacy-app-branch-install-root-dir-path.d.ts.map +1 -0
  22. package/dist/get-legacy-app-branch-install-root-dir-path.js +30 -0
  23. package/dist/get-legacy-app-branch-install-root-dir-path.js.map +1 -0
  24. package/dist/set-legacy-app-branch-install-adoption-dismissed.d.ts +16 -0
  25. package/dist/set-legacy-app-branch-install-adoption-dismissed.d.ts.map +1 -0
  26. package/dist/set-legacy-app-branch-install-adoption-dismissed.js +36 -0
  27. package/dist/set-legacy-app-branch-install-adoption-dismissed.js.map +1 -0
  28. package/dist/settings1.d.ts +1 -0
  29. package/dist/settings1.d.ts.map +1 -1
  30. package/dist/tsconfig.src.tsbuildinfo +1 -1
  31. package/package.json +14 -14
@@ -35,6 +35,7 @@ export * from './convert-unversioned-settings-to-settings-1';
35
35
  export * from './create-shortcut';
36
36
  export * from './create-window';
37
37
  export * from './default-auto-process-runtime-update';
38
+ export * from './discover-and-adopt-legacy-app-branch-install';
38
39
  export * from './display-dialog';
39
40
  export * from './display-select-app-branch-root-dir-dialog';
40
41
  export * from './display-select-dir-dialog';
@@ -97,6 +98,7 @@ export * from './fetch-ongoing-download-runtime-update-task-id';
97
98
  export * from './fetch-protocol-requests-info';
98
99
  export * from './fetch-runtime-update-state';
99
100
  export * from './fetch-settings';
101
+ export * from './fetch-should-suggest-legacy-app-branch-install-adoption';
100
102
  export * from './fetch-theme-info';
101
103
  export * from './fetch-theme-latest-compatible-version-info-persistent-cache-state';
102
104
  export * from './fetch-theme-latest-compatible-version-info';
@@ -107,6 +109,7 @@ export * from './gen-app-branch-new-task-id';
107
109
  export * from './get-asset-path';
108
110
  export * from './get-boot-procedure-type';
109
111
  export * from './get-default-theme-id-persistent-cache-state-file-store-info';
112
+ export * from './get-legacy-app-branch-install-root-dir-path';
110
113
  export * from './get-logs-dir-path';
111
114
  export * from './get-root-dir-path';
112
115
  export * from './get-settings-file-store-info';
@@ -160,6 +163,7 @@ export * from './set-app-branch-internal-state-cache-state';
160
163
  export * from './set-app-info-session-cache-state';
161
164
  export * from './set-default-theme-id-persistent-cache-state';
162
165
  export * from './set-is-window-resizable';
166
+ export * from './set-legacy-app-branch-install-adoption-dismissed';
163
167
  export * from './set-preffered-lang-tag';
164
168
  export * from './set-settings';
165
169
  export * from './set-theme-latest-compatible-version-info-persistent-cache-state';
@@ -1 +1 @@
1
- {"version":3,"file":"$local-index.d.ts","sourceRoot":"","sources":["../src/$local-index.ts"],"names":[],"mappings":"AAAA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,CAAC;AACnE,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mEAAmE,CAAC;AAClF,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,cAAc,CAAC;AAC7B,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC"}
@@ -51,6 +51,7 @@ __exportStar(require("./convert-unversioned-settings-to-settings-1"), exports);
51
51
  __exportStar(require("./create-shortcut"), exports);
52
52
  __exportStar(require("./create-window"), exports);
53
53
  __exportStar(require("./default-auto-process-runtime-update"), exports);
54
+ __exportStar(require("./discover-and-adopt-legacy-app-branch-install"), exports);
54
55
  __exportStar(require("./display-dialog"), exports);
55
56
  __exportStar(require("./display-select-app-branch-root-dir-dialog"), exports);
56
57
  __exportStar(require("./display-select-dir-dialog"), exports);
@@ -113,6 +114,7 @@ __exportStar(require("./fetch-ongoing-download-runtime-update-task-id"), exports
113
114
  __exportStar(require("./fetch-protocol-requests-info"), exports);
114
115
  __exportStar(require("./fetch-runtime-update-state"), exports);
115
116
  __exportStar(require("./fetch-settings"), exports);
117
+ __exportStar(require("./fetch-should-suggest-legacy-app-branch-install-adoption"), exports);
116
118
  __exportStar(require("./fetch-theme-info"), exports);
117
119
  __exportStar(require("./fetch-theme-latest-compatible-version-info-persistent-cache-state"), exports);
118
120
  __exportStar(require("./fetch-theme-latest-compatible-version-info"), exports);
@@ -123,6 +125,7 @@ __exportStar(require("./gen-app-branch-new-task-id"), exports);
123
125
  __exportStar(require("./get-asset-path"), exports);
124
126
  __exportStar(require("./get-boot-procedure-type"), exports);
125
127
  __exportStar(require("./get-default-theme-id-persistent-cache-state-file-store-info"), exports);
128
+ __exportStar(require("./get-legacy-app-branch-install-root-dir-path"), exports);
126
129
  __exportStar(require("./get-logs-dir-path"), exports);
127
130
  __exportStar(require("./get-root-dir-path"), exports);
128
131
  __exportStar(require("./get-settings-file-store-info"), exports);
@@ -176,6 +179,7 @@ __exportStar(require("./set-app-branch-internal-state-cache-state"), exports);
176
179
  __exportStar(require("./set-app-info-session-cache-state"), exports);
177
180
  __exportStar(require("./set-default-theme-id-persistent-cache-state"), exports);
178
181
  __exportStar(require("./set-is-window-resizable"), exports);
182
+ __exportStar(require("./set-legacy-app-branch-install-adoption-dismissed"), exports);
179
183
  __exportStar(require("./set-preffered-lang-tag"), exports);
180
184
  __exportStar(require("./set-settings"), exports);
181
185
  __exportStar(require("./set-theme-latest-compatible-version-info-persistent-cache-state"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"$local-index.js","sourceRoot":"","sources":["../src/$local-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,6DAA2C;AAC3C,0E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DAAsC;AACtC,kDAAgC;AAChC,6CAA2B;AAC3B,8CAA4B;AAC5B,gDAA8B;AAC9B,+DAA6C;AAC7C,6DAA2C;AAC3C,iEAA+C;AAC/C,oEAAkD;AAClD,iEAA+C;AAC/C,oEAAkD;AAClD,uEAAqD;AACrD,oDAAkC;AAClC,gEAA8C;AAC9C,gEAA8C;AAC9C,6DAA2C;AAC3C,6DAA2C;AAC3C,+DAA6C;AAC7C,yDAAuC;AACvC,2DAAyC;AACzC,mEAAiD;AACjD,+CAA6B;AAC7B,mEAAiD;AACjD,uDAAqC;AACrC,+DAA6C;AAC7C,gDAA8B;AAC9B,6EAA2D;AAC3D,sDAAoC;AACpC,sDAAoC;AACpC,yDAAuC;AACvC,kDAAgC"}
1
+ {"version":3,"file":"$local-index.js","sourceRoot":"","sources":["../src/$local-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,6DAA2C;AAC3C,0EAAwD;AACxD,8DAA4C;AAC5C,2EAAyD;AACzD,yEAAuD;AACvD,wEAAsD;AACtD,yDAAuC;AACvC,oFAAkE;AAClE,qFAAmE;AACnE,gFAA8D;AAC9D,2EAAyD;AACzD,mEAAiD;AACjD,sEAAoD;AACpD,mEAAiD;AACjD,sFAAoE;AACpE,kEAAgD;AAChD,sFAAoE;AACpE,kEAAgD;AAChD,yDAAuC;AACvC,4DAA0C;AAC1C,+DAA6C;AAC7C,oDAAkC;AAClC,kEAAgD;AAChD,kEAAgD;AAChD,kDAAgC;AAChC,gEAA8C;AAC9C,0DAAwC;AACxC,uDAAqC;AACrC,2DAAyC;AACzC,+DAA6C;AAC7C,6EAA2D;AAC3D,qEAAmD;AACnD,+EAA6D;AAC7D,oDAAkC;AAClC,kDAAgC;AAChC,wEAAsD;AACtD,iFAA+D;AAC/D,mDAAiC;AACjC,8EAA4D;AAC5D,8DAA4C;AAC5C,yEAAuD;AACvD,yEAAuD;AACvD,yDAAuC;AACvC,4EAA0D;AAC1D,mEAAiD;AACj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AAuB;AACvB,oDAAkC;AAClC,oDAAkC;AAClC,wEAAsD;AACtD,kEAAgD;AAChD,0EAAwD;AACxD,2EAAyD;AACzD,qFAAmE;AACnE,wEAAsD;AACtD,uDAAqC;AACrC,+CAA6B;AAC7B,8DAA4C;AAC5C,sEAAoD;AACpD,sEAAoD;AACpD,4EAA0D;AAC1D,6DAA2C;AAC3C,mEAAiD;AACjD,kDAAgC;AAChC,+DAA6C;AAC7C,wDAAsC;AACtC,sEAAoD;AACpD,uEAAqD;AACrD,8DAA4C;AAC5C,sDAAoC;AACpC,2EAAyD;AACzD,4EAA0D;AAC1D,oDAAkC;AAClC,8DAA4C;AAC5C,sEAAoD;AACpD,wDAAsC;AACtC,kFAAgE;AAChE,yDAAuC;AACvC,qFAAmE;AACnE,8EAA4D;AAC5D,qEAAmD;AACnD,gFAA8D;AAC9D,4DAA0C;AAC1C,qFAAmE;AACnE,2DAAyC;AACzC,iDAA+B;AAC/B,oGAAkF;AAClF,wDAAsC;AACtC,wDAAsC;AACtC,oDAAkC;AAClC,wDAAsC;AACtC,kDAAgC;AAChC,6CAA2B;AAC3B,8CAA4B;AAC5B,gDAA8B;AAC9B,+DAA6C;AAC7C,6DAA2C;AAC3C,iEAA+C;AAC/C,oEAAkD;AAClD,iEAA+C;AAC/C,oEAAkD;AAClD,uEAAqD;AACrD,oDAAkC;AAClC,gEAA8C;AAC9C,gEAA8C;AAC9C,6DAA2C;AAC3C,6DAA2C;AAC3C,+DAA6C;AAC7C,yDAAuC;AACvC,2DAAyC;AACzC,mEAAiD;AACjD,+CAA6B;AAC7B,mEAAiD;AACjD,uDAAqC;AACrC,+DAA6C;AAC7C,gDAA8B;AAC9B,6EAA2D;AAC3D,sDAAoC;AACpC,sDAAoC;AACpC,yDAAuC;AACvC,kDAAgC"}
@@ -1 +1 @@
1
- {"version":3,"file":"convert-unversioned-settings-to-settings-1.d.ts","sourceRoot":"","sources":["../src/convert-unversioned-settings-to-settings-1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,EAAE,EAAc,MAAM,KAAK,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,eAAO,MAAQ,qCAAqC,yFAS3C;IACD,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,KACA,SAAS,CA8Cb,CAAC"}
1
+ {"version":3,"file":"convert-unversioned-settings-to-settings-1.d.ts","sourceRoot":"","sources":["../src/convert-unversioned-settings-to-settings-1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,EAAE,EAAc,MAAM,KAAK,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,eAAO,MAAQ,qCAAqC,yFAS3C;IACD,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,KACA,SAAS,CAgDb,CAAC"}
@@ -21,6 +21,7 @@ exports.convertUnversionedSettingsToSettings1 = _1.__.declareManagedFunc()
21
21
  appSettings1.branches[appBranchUid] = {
22
22
  rootDirPath: appBranchUnversionedSettings.dirPath,
23
23
  overrideMetaDataFileName: undefined,
24
+ isLegacyInstallAdoptionDismissed: undefined,
24
25
  };
25
26
  }
26
27
  }
@@ -29,6 +30,7 @@ exports.convertUnversionedSettingsToSettings1 = _1.__.declareManagedFunc()
29
30
  appSettings1.branches[_1._.APP_MAIN_BRANCH_ID.value] = {
30
31
  rootDirPath: appUnversionedSettings.dirPath,
31
32
  overrideMetaDataFileName: undefined,
33
+ isLegacyInstallAdoptionDismissed: undefined,
32
34
  };
33
35
  }
34
36
  appsSettings1[appId] = appSettings1;
@@ -1 +1 @@
1
- {"version":3,"file":"convert-unversioned-settings-to-settings-1.js","sourceRoot":"","sources":["../src/convert-unversioned-settings-to-settings-1.ts"],"names":[],"mappings":";;;AAAA,0BAAwC;AAKzB,6CAAqC,GAAK,KAAE,CAAC,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AE,mBAAmB,CAAC,WAAW;QACjD,IAAI,EAAE,aAAa;KACpB,CAAC;AACJ,CAAC,CACF,uCAAC"}
1
+ {"version":3,"file":"convert-unversioned-settings-to-settings-1.js","sourceRoot":"","sources":["../src/convert-unversioned-settings-to-settings-1.ts"],"names":[],"mappings":";;;AAAA,0BAAwC;AAKzB,6CAAqC,GAAK,KAAE,CAAC,kBAAkB,EAAE;KAC7E,IAAI,CAAC,uCAAuC,CAAC;KAC7C,SAAS,CAAC,aAAU,CAAC;KACrB,UAAU,CAAC,EAAE,CAAC;KACd,IAAI,EAAE;KACN,OAAO,CACN,CACE,EACE,mBAAmB,GAGpB,EACU,EAAE;IAEb,MAAM,aAAa,GAAsB,EAAE,CAAC;IAE5C,IAAI,mBAAmB,CAAC,IAAI,KAAK,SAAS,EAC1C,CAAC;QACC,KAAK,MAAM,CAAC,KAAK,EAAE,sBAAsB,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,EACtF,CAAC;YACC,IAAI,sBAAsB,KAAK,SAAS,EACxC,CAAC;gBACC,MAAM,YAAY,GAA8B;oBAC9C,QAAQ,EAAE,EAAE;iBACb,CAAC;gBAEF,IAAI,sBAAsB,CAAC,QAAQ,KAAK,SAAS,EACjD,CAAC;oBACC,KAAK,MAAM,CAAC,YAAY,EAAE,4BAA4B,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,CAAC,EAC1G,CAAC;wBACC,IAAI,4BAA4B,KAAK,SAAS,EAC9C,CAAC;4BACC,YAAY,CAAC,QAAQ,CAAC,YAAY,CAAC,GAAG;gCACpC,WAAW,EAAE,4BAA4B,CAAC,OAAO;gCACjD,wBAAwB,EAAE,SAAS;gCACnC,gCAAgC,EAAE,SAAS;6BAC5C,CAAC;wBACJ,CAAC;oBACH,CAAC;gBACH,CAAC;qBAEC,IAAI,sBAAsB,CAAC,OAAO,KAAK,SAAS,EAChD,CAAC;oBACC,YAAY,CAAC,QAAQ,CAAC,IAAC,CAAC,kBAAkB,CAAC,KAAK,CAAC,GAAG;wBAClD,WAAW,EAAE,sBAAsB,CAAC,OAAO;wBAC3C,wBAAwB,EAAE,SAAS;wBACnC,gCAAgC,EAAE,SAAS;qBAC5C,CAAC;gBACJ,CAAC;gBAEH,aAAa,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC;YACtC,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO;QACL,gBAAgB,EAAE,mBAAmB,CAAC,WAAW;QACjD,IAAI,EAAE,aAAa;KACpB,CAAC;AACJ,CAAC,CACF,uCAAC"}
@@ -0,0 +1,19 @@
1
+ import { __ } from "./$";
2
+ /**
3
+ * Best-effort migration aid: if an app branch is not yet registered and an installation created by the
4
+ * previous-generation (Unity) PatchKit launcher exists at the legacy on-disk location, adopt it in place by
5
+ * registering that directory as the branch root in the launcher settings. The normal launcher flow then reads
6
+ * the legacy metadata, reports the installed version, and updates in place.
7
+ *
8
+ * Opt-in (`isLegacyInstallAdoptionEnabled`) and macOS-only. Idempotent: once the branch is registered, this is
9
+ * a no-op.
10
+ */
11
+ export declare const discoverAndAdoptLegacyAppBranchInstall: __.ManagedAsyncFunc<"discoverAndAdoptLegacyAppBranchInstall", ({}: {
12
+ appId: string;
13
+ appAccessToken?: string;
14
+ appBranchId: string;
15
+ appBranchProfile?: string;
16
+ }) => Promise<{
17
+ isAdopted: boolean;
18
+ }>>;
19
+ //# sourceMappingURL=discover-and-adopt-legacy-app-branch-install.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discover-and-adopt-legacy-app-branch-install.d.ts","sourceRoot":"","sources":["../src/discover-and-adopt-legacy-app-branch-install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,EAAE,EAAE,MAAM,KAAK,CAAC;AAW5B;;;;;;;;GAQG;AACH,eAAO,MAAQ,sCAAsC;;kBAhBhD,CAAC;;oBAAuD,CAAC;;;GAiI3D,CAAC"}
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.discoverAndAdoptLegacyAppBranchInstall = void 0;
4
+ const _1 = require("./$");
5
+ const fetch_app_branch_internal_state_1 = require("./fetch-app-branch-internal-state");
6
+ const fetch_is_app_branch_preinstalled_1 = require("./fetch-is-app-branch-preinstalled");
7
+ const fetch_is_app_branch_registered_1 = require("./fetch-is-app-branch-registered");
8
+ const fetch_settings_1 = require("./fetch-settings");
9
+ const get_legacy_app_branch_install_root_dir_path_1 = require("./get-legacy-app-branch-install-root-dir-path");
10
+ const retrieve_app_branch_internal_info_1 = require("./retrieve-app-branch-internal-info");
11
+ const retrieve_config_1 = require("./retrieve-config");
12
+ const set_settings_1 = require("./set-settings");
13
+ /**
14
+ * Best-effort migration aid: if an app branch is not yet registered and an installation created by the
15
+ * previous-generation (Unity) PatchKit launcher exists at the legacy on-disk location, adopt it in place by
16
+ * registering that directory as the branch root in the launcher settings. The normal launcher flow then reads
17
+ * the legacy metadata, reports the installed version, and updates in place.
18
+ *
19
+ * Opt-in (`isLegacyInstallAdoptionEnabled`) and macOS-only. Idempotent: once the branch is registered, this is
20
+ * a no-op.
21
+ */
22
+ exports.discoverAndAdoptLegacyAppBranchInstall = _1.__.declareManagedFunc()
23
+ .async()
24
+ .def(_1._.discoverAndAdoptLegacyAppBranchInstallDef)
25
+ .execute(async ({ appId, appAccessToken, appBranchId, appBranchProfile, }) => {
26
+ const config = (0, retrieve_config_1.retrieveConfig)();
27
+ if (!config.isLegacyInstallAdoptionEnabled
28
+ ||
29
+ config.targetOperatingSystemPlatform !== _1._.TargetOperatingSystemPlatform.MacOS) {
30
+ return { isAdopted: false };
31
+ }
32
+ const appBranchUid = _1._.getAppBranchUid({ appBranchId, appBranchProfile });
33
+ if ((0, fetch_is_app_branch_preinstalled_1.fetchIsAppBranchPreinstalled)({ appId, appBranchId, appBranchProfile })) {
34
+ return { isAdopted: false };
35
+ }
36
+ if (await (0, fetch_is_app_branch_registered_1.fetchIsAppBranchRegistered)({ appId, appBranchId, appBranchProfile })) {
37
+ return { isAdopted: false };
38
+ }
39
+ const appBranchInternalInfo = await (0, retrieve_app_branch_internal_info_1.retrieveAppBranchInternalInfo)({
40
+ appId,
41
+ appAccessToken,
42
+ appBranchId,
43
+ });
44
+ const legacyAppBranchInstallRootDirPath = (0, get_legacy_app_branch_install_root_dir_path_1.getLegacyAppBranchInstallRootDirPath)({
45
+ appBranchSecret: appBranchInternalInfo.secret,
46
+ });
47
+ const doesLegacyInstallExist = await _1.__.invokeAsyncExp(async () => {
48
+ try {
49
+ return await _1.__.PatchKit.fetchDoesAppRootDirExist({
50
+ appRootDirPath: legacyAppBranchInstallRootDirPath,
51
+ appOverrideMetaDataFileName: undefined,
52
+ });
53
+ }
54
+ catch (e) {
55
+ /**
56
+ * A permission problem reading the legacy directory must not block the launcher; treat it as
57
+ * "nothing to adopt".
58
+ */
59
+ if (e instanceof _1.__.PatchKit.AppRootDirPermissionsAreInsufficient) {
60
+ return false;
61
+ }
62
+ throw e;
63
+ }
64
+ });
65
+ if (!doesLegacyInstallExist) {
66
+ return { isAdopted: false };
67
+ }
68
+ const settings = await (0, fetch_settings_1.fetchSettings)();
69
+ await (0, set_settings_1.setSettings)({
70
+ settings: _1.__.$deepmerge(settings, {
71
+ apps: {
72
+ [appId]: {
73
+ branches: {
74
+ [appBranchUid]: {
75
+ rootDirPath: legacyAppBranchInstallRootDirPath,
76
+ overrideMetaDataFileName: undefined,
77
+ },
78
+ },
79
+ },
80
+ },
81
+ }),
82
+ });
83
+ /**
84
+ * Refresh the app-branch-internal-state session cache so the just-adopted branch is immediately
85
+ * visible to the normal flow. The `fetchIsAppBranchRegistered` check above cached a negative entry
86
+ * (with a TTL) that `setSettings` does not invalidate; without this refresh the branch would keep
87
+ * reporting "not registered" until the cache expires. Mirrors `registerAppBranch` and
88
+ * `startAppBranchMoveTask`. Best-effort: a failed refresh only reverts to cache-expiry timing.
89
+ */
90
+ try {
91
+ await (0, fetch_app_branch_internal_state_1.fetchAppBranchInternalState)({ appId, appBranchUid });
92
+ }
93
+ catch (_a) {
94
+ // best-effort cache refresh
95
+ }
96
+ return { isAdopted: true };
97
+ }).discoverAndAdoptLegacyAppBranchInstall;
98
+ //# sourceMappingURL=discover-and-adopt-legacy-app-branch-install.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discover-and-adopt-legacy-app-branch-install.js","sourceRoot":"","sources":["../src/discover-and-adopt-legacy-app-branch-install.ts"],"names":[],"mappings":";;;AAAA,0BAA4B;AAE5B,uFAAgF;AAChF,yFAAkF;AAClF,qFAA8E;AAC9E,qDAAiD;AACjD,+GAAqG;AACrG,2FAAoF;AACpF,uDAAmD;AACnD,iDAA6C;AAE7C;;;;;;;;GAQG;AACY,8CAAsC,GAAK,KAAE,CAAC,kBAAkB,EAAE;KAC9E,KAAK,EAAE;KACP,GAAG,CAAC,IAAC,CAAC,yCAAyC,CAAC;KAChD,OAAO,CACN,KAAK,EACH,EACE,KAAK,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,GACjB,EACD,EAAE;IAEF,MAAM,MAAM,GAAG,IAAA,gCAAc,GAAE,CAAC;IAEhC,IACE,CAAC,MAAM,CAAC,8BAA8B;;YAEtC,MAAM,CAAC,6BAA6B,KAAK,IAAC,CAAC,6BAA6B,CAAC,KAAK,EAEhF,CAAC;QACC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,MAAM,YAAY,GAAG,IAAC,CAAC,eAAe,CAAC,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC,CAAC;IAE1E,IAAI,IAAA,+DAA4B,EAAC,EAAE,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC,EAC1E,CAAC;QACC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,IAAI,MAAM,IAAA,2DAA0B,EAAC,EAAE,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC,EAC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AAK,EAAE,YAAY,EAAE,CAAC,CAAC;IAC7D,CAAC;IACD,WACA,CAAC;QACC,4BAA4B;IAC9B,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;AAC7B,CAAC,CACF,wCAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"export-runtime-default-api-funcs.d.ts","sourceRoot":"","sources":["../src/export-runtime-default-api-funcs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,KAAK,CAAC;AAiFrC,eAAO,MAAQ,4BAA4B,gEAsFxC,CAAC"}
1
+ {"version":3,"file":"export-runtime-default-api-funcs.d.ts","sourceRoot":"","sources":["../src/export-runtime-default-api-funcs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,KAAK,CAAC;AAoFrC,eAAO,MAAQ,4BAA4B,gEAyFxC,CAAC"}
@@ -9,6 +9,7 @@ const center_window_1 = require("./center-window");
9
9
  const configure_oauth2_loopback_default_server_1 = require("./configure-oauth2-loopback-default-server");
10
10
  const configure_oauth2_loopback_server_1 = require("./configure-oauth2-loopback-server");
11
11
  const create_shortcut_1 = require("./create-shortcut");
12
+ const discover_and_adopt_legacy_app_branch_install_1 = require("./discover-and-adopt-legacy-app-branch-install");
12
13
  const display_dialog_1 = require("./display-dialog");
13
14
  const display_select_app_branch_root_dir_dialog_1 = require("./display-select-app-branch-root-dir-dialog");
14
15
  const display_select_dir_dialog_1 = require("./display-select-dir-dialog");
@@ -50,6 +51,7 @@ const fetch_oauth2_loopback_requests_info_1 = require("./fetch-oauth2-loopback-r
50
51
  const fetch_ongoing_download_runtime_update_task_id_1 = require("./fetch-ongoing-download-runtime-update-task-id");
51
52
  const fetch_protocol_requests_info_1 = require("./fetch-protocol-requests-info");
52
53
  const fetch_runtime_update_state_1 = require("./fetch-runtime-update-state");
54
+ const fetch_should_suggest_legacy_app_branch_install_adoption_1 = require("./fetch-should-suggest-legacy-app-branch-install-adoption");
53
55
  const fetch_window_state_1 = require("./fetch-window-state");
54
56
  const focus_file_system_entry_in_file_explorer_1 = require("./focus-file-system-entry-in-file-explorer");
55
57
  const focus_window_1 = require("./focus-window");
@@ -63,6 +65,7 @@ const retrieve_app_registered_branches_state_1 = require("./retrieve-app-registe
63
65
  const retrieve_apps_registered_branches_state_1 = require("./retrieve-apps-registered-branches-state");
64
66
  const retrieve_is_app_branch_registered_1 = require("./retrieve-is-app-branch-registered");
65
67
  const set_is_window_resizable_1 = require("./set-is-window-resizable");
68
+ const set_legacy_app_branch_install_adoption_dismissed_1 = require("./set-legacy-app-branch-install-adoption-dismissed");
66
69
  const set_preffered_lang_tag_1 = require("./set-preffered-lang-tag");
67
70
  const set_window_max_size_1 = require("./set-window-max-size");
68
71
  const set_window_min_size_1 = require("./set-window-min-size");
@@ -93,6 +96,7 @@ exports.exportRuntimeDefaultApiFuncs = _1.__.declareManagedFunc()
93
96
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(configure_oauth2_loopback_default_server_1.configureOauth2LoopbackDefaultServer);
94
97
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(configure_oauth2_loopback_server_1.configureOauth2LoopbackServer);
95
98
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(create_shortcut_1.createShortcut);
99
+ (0, export_runtime_api_func_1.exportRuntimeApiFunc)(discover_and_adopt_legacy_app_branch_install_1.discoverAndAdoptLegacyAppBranchInstall);
96
100
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(display_dialog_1.displayDialog);
97
101
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(display_select_app_branch_root_dir_dialog_1.displaySelectAppBranchRootDirDialog);
98
102
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(display_select_dir_dialog_1.displaySelectDirDialog);
@@ -133,6 +137,7 @@ exports.exportRuntimeDefaultApiFuncs = _1.__.declareManagedFunc()
133
137
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(fetch_ongoing_download_runtime_update_task_id_1.fetchOngoingDownloadRuntimeUpdateTaskId);
134
138
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(fetch_protocol_requests_info_1.fetchProtocolRequestsInfo);
135
139
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(fetch_runtime_update_state_1.fetchRuntimeUpdateState);
140
+ (0, export_runtime_api_func_1.exportRuntimeApiFunc)(fetch_should_suggest_legacy_app_branch_install_adoption_1.fetchShouldSuggestLegacyAppBranchInstallAdoption);
136
141
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(fetch_window_state_1.fetchWindowState);
137
142
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(focus_file_system_entry_in_file_explorer_1.focusFileSystemEntryInFileExplorer);
138
143
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(focus_window_1.focusWindow);
@@ -146,6 +151,7 @@ exports.exportRuntimeDefaultApiFuncs = _1.__.declareManagedFunc()
146
151
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(retrieve_apps_registered_branches_state_1.retrieveAppsRegisteredBranchesState);
147
152
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(retrieve_is_app_branch_registered_1.retrieveIsAppBranchRegistered);
148
153
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(set_is_window_resizable_1.setIsWindowResizable);
154
+ (0, export_runtime_api_func_1.exportRuntimeApiFunc)(set_legacy_app_branch_install_adoption_dismissed_1.setLegacyAppBranchInstallAdoptionDismissed);
149
155
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(set_preffered_lang_tag_1.setPreferredLangTag);
150
156
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(set_window_max_size_1.setWindowMaxSize);
151
157
  (0, export_runtime_api_func_1.exportRuntimeApiFunc)(set_window_min_size_1.setWindowMinSize);
@@ -1 +1 @@
1
- {"version":3,"file":"export-runtime-default-api-funcs.js","sourceRoot":"","sources":["../src/export-runtime-default-api-funcs.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;AAErC,uDAAkD;A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AAC,oCAAgB,CAAC,CAAC;AACzC,CAAC,CACF,8BAAC"}
1
+ {"version":3,"file":"export-runtime-default-api-funcs.js","sourceRoot":"","sources":["../src/export-runtime-default-api-funcs.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;AAErC,uDAAkD;AAClD,mFAA4E;AAC5E,mFAA4E;AAC5E,mDAA+C;AAC/C,yGAAkG;AAClG,yFAAmF;AACnF,uDAAmD;AACnD,iHAAwG;AACxG,qDAAiD;AACjD,2GAAkG;AAClG,2EAAqE;AACrE,uEAAiE;AACjE,uGAA8F;AAC9F,yFAAiF;AACjF,qGAA4F;AAC5F,mEAA6D;AAC7D,qIAA2H;AAC3H,iHAAwG;AACxG,6FAAqF;AACrF,iHAAwG;AACxG,6GAAoG;AACpG,2GAAkG;AAClG,+EAAwE;AACxE,iKAAqJ;AACrJ,mFAA4E;AAC5E,qDAAgD;AAChD,6GAAoG;AACpG,2HAAiH;AACjH,mGAA0F;AAC1F,iHAAuG;AACvG,uFAA+E;AAC/E,qDAAgD;AAChD,qEAA+D;AAC/D,mGAA0F;AAC1F,yDAAoD;AACpD,+DAA0D;AAC1D,6GAAoG;AACpG,6GAAoG;AACpG,mIAAyH;AACzH,6EAAsE;AACtE,uFAAgF;AAChF,yGAAiG;AACjG,uEAAiE;AACjE,uDAAkD;AAClD,2DAAsD;AACtD,+FAAwF;AACxF,mHAA0G;AAC1G,iFAA2E;AAC3E,6EAAuE;AACvE,uIAA6H;AAC7H,6DAAwD;AACxD,yGAAgG;AAChG,iDAA6C;AAC7C,+CAA2C;AAC3C,uEAAiE;AACjE,uDAAmD;AACnD,uDAAmD;AACnD,+DAA0D;AAC1D,2EAAqE;AACrE,qGAA8F;AAC9F,uGAAgG;AAChG,2FAAoF;AACpF,uEAAiE;AACjE,yHAAgH;AAChH,qEAA+D;AAC/D,+DAAyD;AACzD,+DAAyD;AACzD,uDAAkD;AAClD,+CAA2C;AAC3C,6EAAsE;AACtE,yEAAmE;AACnE,iFAA0E;AAC1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C,CAAC;IAClD,IAAA,8CAAoB,EAAC,uDAAwB,CAAC,CAAC;IAC/C,IAAA,8CAAoB,EAAC,6DAA2B,CAAC,CAAC;IAClD,IAAA,8CAAoB,EAAC,mEAA8B,CAAC,CAAC;IACrD,IAAA,8CAAoB,EAAC,+BAAa,CAAC,CAAC;IACpC,IAAA,8CAAoB,EAAC,oDAAuB,CAAC,CAAC;IAC9C,IAAA,8CAAoB,EAAC,+EAAoC,CAAC,CAAC;IAC3D,IAAA,8CAAoB,EAAC,oCAAgB,CAAC,CAAC;IACvC,IAAA,8CAAoB,EAAC,oCAAgB,CAAC,CAAC;AACzC,CAAC,CACF,8BAAC"}
@@ -35,7 +35,7 @@ exports.fetchConfig = _1.__.declareManagedFunc()
35
35
  const config = _1.__.deserializeValueFromJson({
36
36
  json: configFileContents,
37
37
  });
38
- if (!(() => { const $io0 = input => "linux" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io1 = input => "string" === typeof input.versionLabel && ("prod" === input.mode || "dev" === input.mode); const $io2 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io3 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io4 = input => Object.keys(input).every(key => {
38
+ if (!(() => { const $io0 = input => "linux" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && "boolean" === typeof input.isLegacyInstallAdoptionEnabled && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.overrideLegacyInstallBasePath || "string" === typeof input.overrideLegacyInstallBasePath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io1 = input => "string" === typeof input.versionLabel && ("prod" === input.mode || "dev" === input.mode); const $io2 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io3 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io4 = input => Object.keys(input).every(key => {
39
39
  const value = input[key];
40
40
  if (undefined === value)
41
41
  return true;
@@ -70,7 +70,7 @@ exports.fetchConfig = _1.__.declareManagedFunc()
70
70
  if (undefined === value)
71
71
  return true;
72
72
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io22(value);
73
- }); const $io22 = input => true; const $io23 = input => "string" === typeof input.id; const $io24 = input => true; const $io25 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate && (undefined === input.supportButton || "object" === typeof input.supportButton && null !== input.supportButton && $io26(input.supportButton)); const $io26 = input => "string" === typeof input.labelTemplate && "string" === typeof input.urlTemplate; const $io27 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io28 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io29 = input => "macos" === input.targetOperatingSystemPlatform && ("object" === typeof input.moveToApplicationsFolderIsRequiredDialog && null !== input.moveToApplicationsFolderIsRequiredDialog && $io30(input.moveToApplicationsFolderIsRequiredDialog)) && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io30 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io31 = input => "windows" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $iu0 = input => (() => {
73
+ }); const $io22 = input => true; const $io23 = input => "string" === typeof input.id; const $io24 = input => true; const $io25 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate && (undefined === input.supportButton || "object" === typeof input.supportButton && null !== input.supportButton && $io26(input.supportButton)); const $io26 = input => "string" === typeof input.labelTemplate && "string" === typeof input.urlTemplate; const $io27 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io28 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io29 = input => "macos" === input.targetOperatingSystemPlatform && ("object" === typeof input.moveToApplicationsFolderIsRequiredDialog && null !== input.moveToApplicationsFolderIsRequiredDialog && $io30(input.moveToApplicationsFolderIsRequiredDialog)) && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && "boolean" === typeof input.isLegacyInstallAdoptionEnabled && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.overrideLegacyInstallBasePath || "string" === typeof input.overrideLegacyInstallBasePath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io30 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io31 = input => "windows" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && "boolean" === typeof input.isLegacyInstallAdoptionEnabled && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.overrideLegacyInstallBasePath || "string" === typeof input.overrideLegacyInstallBasePath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $iu0 = input => (() => {
74
74
  if ("linux" === input.targetOperatingSystemPlatform)
75
75
  return $io0(input);
76
76
  else if ("macos" === input.targetOperatingSystemPlatform)
@@ -0,0 +1,19 @@
1
+ import { __ } from "./$";
2
+ /**
3
+ * Decides whether the theme should prompt the user to adopt a legacy (previous-generation, Unity)
4
+ * PatchKit launcher install for an app branch. This is the prompt-based counterpart of
5
+ * `discoverAndAdoptLegacyAppBranchInstall`: instead of silently adopting, the theme asks the user,
6
+ * and a decline is recorded via `setLegacyAppBranchInstallAdoptionDismissed` so the prompt is not
7
+ * shown again.
8
+ *
9
+ * Opt-in (`isLegacyInstallAdoptionEnabled`) and macOS-only. Returns `true` only when every gate
10
+ * passes: the branch is not preinstalled, not yet registered, the user has not previously dismissed
11
+ * the suggestion for it, and a legacy install actually exists at the on-disk location.
12
+ */
13
+ export declare const fetchShouldSuggestLegacyAppBranchInstallAdoption: __.ManagedAsyncFunc<"fetchShouldSuggestLegacyAppBranchInstallAdoption", ({}: {
14
+ appId: string;
15
+ appAccessToken?: string;
16
+ appBranchId: string;
17
+ appBranchProfile?: string;
18
+ }) => Promise<boolean>>;
19
+ //# sourceMappingURL=fetch-should-suggest-legacy-app-branch-install-adoption.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-should-suggest-legacy-app-branch-install-adoption.d.ts","sourceRoot":"","sources":["../src/fetch-should-suggest-legacy-app-branch-install-adoption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,EAAE,EAAE,MAAM,KAAK,CAAC;AAS5B;;;;;;;;;;GAUG;AACH,eAAO,MAAQ,gDAAgD;;kBAhBpC,CAAC;;oBACK,CAAC;uBA8F/B,CAAC"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchShouldSuggestLegacyAppBranchInstallAdoption = void 0;
4
+ const _1 = require("./$");
5
+ const fetch_is_app_branch_preinstalled_1 = require("./fetch-is-app-branch-preinstalled");
6
+ const fetch_is_app_branch_registered_1 = require("./fetch-is-app-branch-registered");
7
+ const fetch_settings_1 = require("./fetch-settings");
8
+ const get_legacy_app_branch_install_root_dir_path_1 = require("./get-legacy-app-branch-install-root-dir-path");
9
+ const retrieve_app_branch_internal_info_1 = require("./retrieve-app-branch-internal-info");
10
+ const retrieve_config_1 = require("./retrieve-config");
11
+ /**
12
+ * Decides whether the theme should prompt the user to adopt a legacy (previous-generation, Unity)
13
+ * PatchKit launcher install for an app branch. This is the prompt-based counterpart of
14
+ * `discoverAndAdoptLegacyAppBranchInstall`: instead of silently adopting, the theme asks the user,
15
+ * and a decline is recorded via `setLegacyAppBranchInstallAdoptionDismissed` so the prompt is not
16
+ * shown again.
17
+ *
18
+ * Opt-in (`isLegacyInstallAdoptionEnabled`) and macOS-only. Returns `true` only when every gate
19
+ * passes: the branch is not preinstalled, not yet registered, the user has not previously dismissed
20
+ * the suggestion for it, and a legacy install actually exists at the on-disk location.
21
+ */
22
+ exports.fetchShouldSuggestLegacyAppBranchInstallAdoption = _1.__.declareManagedFunc()
23
+ .async()
24
+ .def(_1._.fetchShouldSuggestLegacyAppBranchInstallAdoptionDef)
25
+ .execute(async ({ appId, appAccessToken, appBranchId, appBranchProfile, }) => {
26
+ var _a, _b;
27
+ const config = (0, retrieve_config_1.retrieveConfig)();
28
+ if (!config.isLegacyInstallAdoptionEnabled
29
+ ||
30
+ config.targetOperatingSystemPlatform !== _1._.TargetOperatingSystemPlatform.MacOS) {
31
+ return false;
32
+ }
33
+ const appBranchUid = _1._.getAppBranchUid({ appBranchId, appBranchProfile });
34
+ if ((0, fetch_is_app_branch_preinstalled_1.fetchIsAppBranchPreinstalled)({ appId, appBranchId, appBranchProfile })) {
35
+ return false;
36
+ }
37
+ if (await (0, fetch_is_app_branch_registered_1.fetchIsAppBranchRegistered)({ appId, appBranchId, appBranchProfile })) {
38
+ return false;
39
+ }
40
+ const settings = await (0, fetch_settings_1.fetchSettings)();
41
+ if (((_b = (_a = settings.apps[appId]) === null || _a === void 0 ? void 0 : _a.branches[appBranchUid]) === null || _b === void 0 ? void 0 : _b.isLegacyInstallAdoptionDismissed) === true) {
42
+ return false;
43
+ }
44
+ const appBranchInternalInfo = await (0, retrieve_app_branch_internal_info_1.retrieveAppBranchInternalInfo)({
45
+ appId,
46
+ appAccessToken,
47
+ appBranchId,
48
+ });
49
+ const legacyAppBranchInstallRootDirPath = (0, get_legacy_app_branch_install_root_dir_path_1.getLegacyAppBranchInstallRootDirPath)({
50
+ appBranchSecret: appBranchInternalInfo.secret,
51
+ });
52
+ const doesLegacyInstallExist = await _1.__.invokeAsyncExp(async () => {
53
+ try {
54
+ return await _1.__.PatchKit.fetchDoesAppRootDirExist({
55
+ appRootDirPath: legacyAppBranchInstallRootDirPath,
56
+ appOverrideMetaDataFileName: undefined,
57
+ });
58
+ }
59
+ catch (e) {
60
+ /**
61
+ * A permission problem reading the legacy directory must not block the launcher; treat it
62
+ * as "nothing to suggest".
63
+ */
64
+ if (e instanceof _1.__.PatchKit.AppRootDirPermissionsAreInsufficient) {
65
+ return false;
66
+ }
67
+ throw e;
68
+ }
69
+ });
70
+ return doesLegacyInstallExist;
71
+ }).fetchShouldSuggestLegacyAppBranchInstallAdoption;
72
+ //# sourceMappingURL=fetch-should-suggest-legacy-app-branch-install-adoption.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-should-suggest-legacy-app-branch-install-adoption.js","sourceRoot":"","sources":["../src/fetch-should-suggest-legacy-app-branch-install-adoption.ts"],"names":[],"mappings":";;;AAAA,0BAA4B;AAE5B,yFAAkF;AAClF,qFAA8E;AAC9E,qDAAiD;AACjD,+GAAqG;AACrG,2FAAoF;AACpF,uDAAmD;AAEnD;;;;;;;;;;GAUG;AACY,wDAAgD,GAAK,KAAE,CAAC,kBAAkB,EAAE;KACxF,KAAK,EAAE;KACP,GAAG,CAAC,IAAC,CAAC,mDAAmD,CAAC;KAC1D,OAAO,CACN,KAAK,EACH,EACE,KAAK,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,GACjB,EACD,EAAE;;IAEF,MAAM,MAAM,GAAG,IAAA,gCAAc,GAAE,CAAC;IAEhC,IACE,CAAC,MAAM,CAAC,8BAA8B;;YAEtC,MAAM,CAAC,6BAA6B,KAAK,IAAC,CAAC,6BAA6B,CAAC,KAAK,EAEhF,CAAC;QACC,OAAO,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IACH,CAAC,CAAC,CAAC;IAEH,OAAO,sBAAsB,CAAC;AAChC,CAAC,CACF,kDAAC"}
@@ -0,0 +1,5 @@
1
+ import { __ } from "./$";
2
+ export declare const getLegacyAppBranchInstallRootDirPath: __.ManagedSyncFunc<"getLegacyAppBranchInstallRootDirPath", ({ appBranchSecret, }: {
3
+ appBranchSecret: string;
4
+ }) => string>;
5
+ //# sourceMappingURL=get-legacy-app-branch-install-root-dir-path.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-legacy-app-branch-install-root-dir-path.d.ts","sourceRoot":"","sources":["../src/get-legacy-app-branch-install-root-dir-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,KAAK,CAAC;AAIrC,eAAO,MAAQ,oCAAoC,oFAS1C;IACD,eAAe,EAAE,MAAM,CAAC;CACzB,KACA,MAAM,CA6BV,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getLegacyAppBranchInstallRootDirPath = void 0;
4
+ const _1 = require("./$");
5
+ const retrieve_config_1 = require("./retrieve-config");
6
+ exports.getLegacyAppBranchInstallRootDirPath = _1.__.declareManagedFunc()
7
+ .name(`getLegacyAppBranchInstallRootDirPath`)
8
+ .namespace(_1.$namespace)
9
+ .errorTypes([])
10
+ .sync()
11
+ .execute(({ appBranchSecret, }) => {
12
+ var _a;
13
+ const config = (0, retrieve_config_1.retrieveConfig)();
14
+ /**
15
+ * Fail fast on a malformed secret: the legacy directory name is `appBranchSecret.slice(0, 8)`, so a
16
+ * non-hex / too-short / empty secret would silently produce a wrong or path-significant segment.
17
+ * PatchKit app secrets are 32-char hex.
18
+ */
19
+ _1.__.checkAssertion((/^[0-9a-fA-F]{8,}$/).test(appBranchSecret));
20
+ /**
21
+ * macOS legacy (Qt + Unity) launcher install layout:
22
+ *
23
+ * <base>/PatchKit/Apps/<first 8 chars of app secret>/Data
24
+ *
25
+ * where `<base>` is `~/Library/Application Support` (Electron's `appData` path on macOS).
26
+ */
27
+ const legacyInstallBasePath = (_a = config.overrideLegacyInstallBasePath) !== null && _a !== void 0 ? _a : _1.__.$electron.app.getPath(`appData`);
28
+ return _1.__.$path.resolve(legacyInstallBasePath, `PatchKit`, `Apps`, appBranchSecret.slice(0, 8), `Data`);
29
+ }).getLegacyAppBranchInstallRootDirPath;
30
+ //# sourceMappingURL=get-legacy-app-branch-install-root-dir-path.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-legacy-app-branch-install-root-dir-path.js","sourceRoot":"","sources":["../src/get-legacy-app-branch-install-root-dir-path.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;AAErC,uDAAmD;AAEpC,4CAAoC,GAAK,KAAE,CAAC,kBAAkB,EAAE;KAC5E,IAAI,CAAC,sCAAsC,CAAC;KAC5C,SAAS,CAAC,aAAU,CAAC;KACrB,UAAU,CAAC,EAAE,CAAC;KACd,IAAI,EAAE;KACN,OAAO,CACN,CACE,EACE,eAAe,GAGhB,EACO,EAAE;;IAEV,MAAM,MAAM,GAAG,IAAA,gCAAc,GAAE,CAAC;IAEhC;;;;OAIG;IACH,KAAE,CAAC,cAAc,CAAC,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAE/D;;;;;;OAMG;IACH,MAAM,qBAAqB,GAAG,MAAA,MAAM,CAAC,6BAA6B,mCAC7D,KAAE,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,KAAE,CAAC,KAAK,CAAC,OAAO,CACrB,qBAAqB,EACrB,UAAU,EACV,MAAM,EACN,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAC3B,MAAM,CACP,CAAC;AACJ,CAAC,CACF,sCAAC"}