myaiforone 1.1.22 → 1.1.23
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/package.json +1 -1
- package/public/admin.html +2 -0
package/package.json
CHANGED
package/public/admin.html
CHANGED
|
@@ -887,6 +887,8 @@ async function checkForUpdates() {
|
|
|
887
887
|
}
|
|
888
888
|
|
|
889
889
|
async function applyUpdate() {
|
|
890
|
+
const latest = document.getElementById('latestVersion').textContent;
|
|
891
|
+
if (!confirm('Update MyAIforOne to ' + latest + '?\n\nThe service will restart and be briefly unavailable.')) return;
|
|
890
892
|
const updateBtn = document.getElementById('updateBtn');
|
|
891
893
|
const logEl = document.getElementById('updateLog');
|
|
892
894
|
const badge = document.getElementById('updateBadge');
|