change apps in taskbar and launcher

This commit is contained in:
jelveh 2024-12-26 20:21:46 -08:00
parent 5f5eeb2a06
commit 93aa83bdf7
2 changed files with 21 additions and 6 deletions

View File

@ -1469,13 +1469,11 @@ async function get_taskbar_items(user, { icon_size, no_icons } = {}) {
if(!user.taskbar_items){
taskbar_items_from_db = [
{name: 'app-center', type: 'app'},
{name: 'editor', type: 'app'},
{name: 'dev-center', type: 'app'},
{name: 'draw', type: 'app'},
{name: 'editor', type: 'app'},
{name: 'code', type: 'app'},
{name: 'camera', type: 'app'},
{name: 'recorder', type: 'app'},
{name: 'terminal', type: 'app'},
];
await db.write(
`UPDATE user SET taskbar_items = ? WHERE id = ?`,

View File

@ -87,9 +87,6 @@ module.exports = async (req, res) => {
'dev-center',
'editor',
'code',
'terminal',
'draw',
'silex',
'camera',
'recorder',
'shell-shockers-outpan',
@ -97,7 +94,12 @@ module.exports = async (req, res) => {
'slash-frvr',
'viewer',
'solitaire-frvr',
'terminal',
'tiles-beat',
'draw',
'silex',
'markus',
'puterjs-playground',
'player',
'pdf',
'polotno',
@ -106,6 +108,21 @@ module.exports = async (req, res) => {
'plushie-connect',
'hex-frvr',
'spider-solitaire',
'danger-cross',
'doodle-jump-extra',
'endless-lake',
'sword-and-jewel',
'reversi-2',
'in-orbit',
'bowling-king',
'photopea',
'calc-hklocykcpts',
'virtu-piano',
'battleship-war',
'turbo-racing',
'guns-and-bottles',
'tronix',
'jewel-classic',
]);
// Prepare each app for returning to user by only returning the necessary fields