mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
🎈 Sync 2026-06-19 02:57:28
This commit is contained in:
1 parent
29adf9f138
commit
e6800e389f
5 files changed
+60
-12
No files matched your search
@@ -131,8 +131,6 @@ function stamp() {
|
||||
|
||||
return view.extend({
|
||||
load: function() {
|
||||
// background apk update so new versions show on next poll
|
||||
fs.exec('/usr/share/luci-app-daede/refresh-index.sh', []).catch(function() {});
|
||||
return Promise.all([
|
||||
backend.detectBackend(),
|
||||
uci.load('daed').catch(function() {}),
|
||||
@@ -379,6 +377,10 @@ return view.extend({
|
||||
|
||||
poll.add(refresh);
|
||||
refresh();
|
||||
// First paint reads the cached index (fast). Refresh the index, then
|
||||
// re-probe once it's current so a freshly published version shows
|
||||
// without waiting for a poll tick. refresh-index.sh self-throttles.
|
||||
fs.exec('/usr/share/luci-app-daede/refresh-index.sh', []).then(refresh).catch(function() {});
|
||||
|
||||
// === Geo data source (preset / custom URL + auto-update) ===
|
||||
const geoSettings = (function() {
|
||||
|
||||
Reference in new issue
Block a user