add platform check logic on default open

xdg-open rock!