src/vs/platform/windows/electron-main/windowsMainService.ts/WindowsMainService/resourceFromOpenable
class WindowsMainService:	private resourceFromOpenable(openable: IWindowOpenable): URI {
		if (isWorkspaceToOpen(openable)) {
			return openable.workspaceUri;
		}

		if (isFolderToOpen(openable)) {
			return openable.folderUri;
		}

		return openable.fileUri;
	}