@amd-gaia/agent-ui 0.26.0-rc.2 → 0.26.0-rc.21
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.
- package/README.md +2 -2
- package/app.config.json +1 -1
- package/assets/tray-iconTemplate.png +0 -0
- package/assets/tray-iconTemplate@2x.png +0 -0
- package/bin/gaia-ui.cjs +19 -16
- package/dist/assets/AdvancedSettings-zyQf8TEW.js +1 -0
- package/dist/assets/ConnectorsPane-C1lnj3nf.js +1 -0
- package/dist/assets/ConnectorsPane-hmunRyL2.css +1 -0
- package/dist/assets/{DocumentLibrary-CM6o8j2T.css → DocumentLibrary-DM09xPsW.css} +1 -1
- package/dist/assets/DocumentLibrary-DdRPbTaN.js +4 -0
- package/dist/assets/FileBrowser-C1z6Dzri.js +4 -0
- package/dist/assets/MemoryDashboard-BYQDFko-.css +1 -0
- package/dist/assets/MemoryDashboard-npeIm302.js +1 -0
- package/dist/assets/MobileAccessModal-DZsaUW0l.js +2 -0
- package/dist/assets/ScheduleManager-DSwIOBEx.js +1 -0
- package/dist/assets/{browser-KnDALPx_.js → browser-DfYHeeW3.js} +1 -1
- package/dist/assets/index-CZb4fNi-.css +1 -0
- package/dist/assets/index-unEEMl41.js +92 -0
- package/dist/assets/useT-DgnWTgln.js +6 -0
- package/dist/assets/zap-DPIo9cDP.js +1 -0
- package/dist/index.html +3 -4
- package/dist/sw.js +1 -1
- package/main-safety-net.cjs +30 -3
- package/main.cjs +77 -220
- package/package.json +3 -3
- package/preload.cjs +0 -30
- package/services/agent-process-manager.cjs +3 -411
- package/services/appimage-launcher.cjs +183 -0
- package/services/auto-updater.cjs +10 -0
- package/services/backend-installer.cjs +230 -512
- package/services/renderer-gone-dialog.cjs +57 -0
- package/services/tray-manager.cjs +7 -14
- package/services/window-reveal.cjs +42 -0
- package/assets/tray-icon-active.png +0 -0
- package/assets/tray-icon-active@2x.png +0 -0
- package/dist/assets/AdvancedSettings-DhQOkz13.js +0 -1
- package/dist/assets/ConnectorsPane-CzLYXGMl.css +0 -1
- package/dist/assets/ConnectorsPane-DZSS3unX.js +0 -1
- package/dist/assets/DocumentLibrary-Bxi2x5Ry.js +0 -4
- package/dist/assets/FileBrowser-lOETG5oo.js +0 -4
- package/dist/assets/MemoryDashboard-DwrWAXi6.css +0 -1
- package/dist/assets/MemoryDashboard-Evh8x9AG.js +0 -1
- package/dist/assets/MobileAccessModal-jZP8OcFv.js +0 -2
- package/dist/assets/ScheduleManager-CoagpVqW.js +0 -1
- package/dist/assets/api-9RdlUJAP.js +0 -4
- package/dist/assets/index-D8wu2yy4.js +0 -83
- package/dist/assets/index-LLooEbjq.css +0 -1
- package/dist/assets/useT-C0ow1Kps.js +0 -3
- package/dist/assets/zap-D2mvP3-6.js +0 -1
- package/services/deep-link-queue.cjs +0 -77
- package/services/deep-link.cjs +0 -230
- package/services/system-metrics.cjs +0 -154
|
@@ -363,6 +363,8 @@ let downloadEpoch = 0;
|
|
|
363
363
|
const prefetching = new Map();
|
|
364
364
|
// The user asked for this download, so it may install on quit with auto-update off.
|
|
365
365
|
let installRequested = false;
|
|
366
|
+
// The user chose to restart into the update: the quit runs its installer.
|
|
367
|
+
let installingNow = false;
|
|
366
368
|
// The file was unreadable at launch, so a pin it holds was never loaded.
|
|
367
369
|
let pinUnknown = false;
|
|
368
370
|
let scheduledTimeout = null;
|
|
@@ -1434,6 +1436,7 @@ async function restartToInstall() {
|
|
|
1434
1436
|
}
|
|
1435
1437
|
log("info", "User chose to restart — calling quitAndInstall");
|
|
1436
1438
|
_recordInstallAttempt();
|
|
1439
|
+
installingNow = true;
|
|
1437
1440
|
// Silent: the installer wizard would otherwise wait for clicks. Force-run
|
|
1438
1441
|
// brings the app straight back.
|
|
1439
1442
|
autoUpdaterRef.quitAndInstall(!wizardNextInstall, true);
|
|
@@ -1883,6 +1886,12 @@ function _onBeforeQuit(event) {
|
|
|
1883
1886
|
_recordInstallAttempt();
|
|
1884
1887
|
}
|
|
1885
1888
|
|
|
1889
|
+
/** Whether this quit hands over to an update's installer, which replaces the app's files. */
|
|
1890
|
+
function installsOnQuit() {
|
|
1891
|
+
if (!autoUpdaterRef || state.status !== STATES.DOWNLOADED) return false;
|
|
1892
|
+
return installingNow || Boolean(autoUpdaterRef.autoInstallOnAppQuit);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1886
1895
|
/** Tear down timers and IPC handlers. Safe to call multiple times. */
|
|
1887
1896
|
function destroy() {
|
|
1888
1897
|
if (initialCheckTimeout) {
|
|
@@ -1917,6 +1926,7 @@ module.exports = {
|
|
|
1917
1926
|
setIncludePrereleases,
|
|
1918
1927
|
downloadUpdate,
|
|
1919
1928
|
restartToInstall,
|
|
1929
|
+
installsOnQuit,
|
|
1920
1930
|
STATES,
|
|
1921
1931
|
// For tests: init() runs it on a timer.
|
|
1922
1932
|
_seedInstalledBlockmap,
|