No support for notifications (yet) on windows

windows_fixes_yo
wattygetlood 2021-09-16 16:46:44 -04:00 committed by wattygetlood
parent c0082e15bc
commit 15556e40f0
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ from contextlib import asynccontextmanager
from dataclasses import dataclass, field
from functools import partial
from pprint import pformat
import platform
import time
from typing import Optional, Dict, Callable, Any
import uuid
@ -429,6 +430,9 @@ class OrderMode:
# TODO: make this not trash.
# XXX: linux only for now
if platform.system() == "Windows":
return
result = await trio.run_process(
[
'notify-send',