The console was giving an error related to permissions, just updated the permissions, forcing to have the needed permissions for creating a menu, updating the trayIcon and updating the window default icon
Updated the example because was creating 2 tray icons the custom and the default(the config one on tauri.config.ts)