mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
clean up console messages and errors
This commit is contained in:
parent
6bef35b406
commit
ebb6cf2a91
@ -52,7 +52,7 @@ async function UIDesktop(options){
|
||||
});
|
||||
|
||||
window.socket.on('connect', function(){
|
||||
console.log('GUI Socket: Connected', window.socket.id);
|
||||
// console.log('GUI Socket: Connected', window.socket.id);
|
||||
});
|
||||
|
||||
window.socket.on('reconnect', function(){
|
||||
|
@ -106,7 +106,6 @@ const UIWindowThemeDialog = async function UIWindowThemeDialog (options) {
|
||||
state.light_text = e.target.value < 60 ? true : false;
|
||||
}
|
||||
svc_theme.apply(state);
|
||||
console.log(state);
|
||||
};
|
||||
|
||||
Button({ label: i18n('reset_colors') })
|
||||
|
@ -2597,7 +2597,7 @@ window.refresh_desktop_background = function(){
|
||||
}
|
||||
// default background
|
||||
else{
|
||||
let wallpaper = (window.gui_env === 'prod') ? '/dist/images/wallpaper.webp' : '/images/wallpaper.webp';
|
||||
let wallpaper = (window.gui_env === 'prod') ? '/dist/images/wallpaper.webp' : '/src/images/wallpaper.webp';
|
||||
window.set_desktop_background({
|
||||
url: wallpaper,
|
||||
fit: 'cover',
|
||||
|
@ -114,7 +114,7 @@ window.initgui = async function(){
|
||||
puter.os.version()
|
||||
.then(res => {
|
||||
const deployed_date = new Date(res.deploy_timestamp);
|
||||
console.log(`Version: ${(res.version)} | Server: ${(res.location)} | Deployed: ${(deployed_date)}`);
|
||||
console.log(`Your Puter information:\n• Version: ${(res.version)}\n• Server: ${(res.location)}\n• Deployed: ${(deployed_date)}`);
|
||||
})
|
||||
.catch(error => {
|
||||
console.error("Failed to fetch server info:", error);
|
||||
|
Loading…
Reference in New Issue
Block a user