Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/onepassword/desktop_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import platform
import base64
from pathlib import Path
from ctypes import c_uint8, c_size_t, c_int32, POINTER, byref, c_void_p

Check failure on line 7 in src/onepassword/desktop_core.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F401)

src/onepassword/desktop_core.py:7:64: F401 `ctypes.c_void_p` imported but unused

Check failure on line 7 in src/onepassword/desktop_core.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F401)

src/onepassword/desktop_core.py:7:64: F401 `ctypes.c_void_p` imported but unused
from onepassword.errors import raise_typed_exception


Expand All @@ -20,15 +20,9 @@
elif os_name == "Linux":
locations = [
"/usr/bin/1password/libop_sdk_ipc_client.so",
"/opt/1password/libop_sdk_ipc_client.so",
"/opt/1Password/libop_sdk_ipc_client.so",
"/snap/bin/1password/libop_sdk_ipc_client.so",
]
elif os_name == "Windows":
locations = [
r"C:\Program Files\1Password\op_sdk_ipc_client.dll",
r"C:\Program Files (x86)\1Password\op_sdk_ipc_client.dll",
str(Path.home() / r"AppData\Local\1Password\op_sdk_ipc_client.dll"),
]
else:
raise OSError(f"Unsupported operating system: {os_name}")

Expand Down
Loading