mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 14:18:43 +08:00
change apps in taskbar and launcher
This commit is contained in:
parent
5f5eeb2a06
commit
93aa83bdf7
@ -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 = ?`,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user