add desktop support

add desktop support