Desktop apps still have a place in some B2B settings. For a year I worked for a company that developed software that managed fork lift battery inventories for warehouses. These were warehouses that had little to no internet connectivity on the floor and so having a desktop application was crucial. It was a niche market but highly profitable.