mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-15 05:19:56 +02:00
Add features:
- allow pinning apps in Setting - pinned apps in system pannel - Services manager in Setting - Fix and impprove some CSS bug
This commit is contained in:
@ -356,6 +356,13 @@ namespace OS {
|
||||
* @type {string[]}
|
||||
*/
|
||||
services: string[];
|
||||
|
||||
/**
|
||||
* List of pinned applications
|
||||
*
|
||||
* @type {string[]}
|
||||
*/
|
||||
pinned: string[];
|
||||
};
|
||||
}
|
||||
/**
|
||||
@ -476,6 +483,7 @@ namespace OS {
|
||||
startup: {
|
||||
apps: [],
|
||||
services: ["Syslog/PushNotification", "Syslog/Calendar"],
|
||||
pinned: [],
|
||||
},
|
||||
};
|
||||
}
|
||||
@ -530,7 +538,7 @@ namespace OS {
|
||||
for (let k in setting.system.packages) {
|
||||
const v = setting.system.packages[k];
|
||||
if (v.app) {
|
||||
var e, k1, v1;
|
||||
var e: any, k1: string, v1: { [x: string]: any; detail?: any; path?: any; complex?: any; };
|
||||
if (
|
||||
v.name.match(term) ||
|
||||
(v.description && v.description.match(term))
|
||||
|
Reference in New Issue
Block a user