Skip to content

Commit b38e88f

Browse files
authored
Improve paths to SDK IPC lib (#185)
This PR does two changes: - Make the paths to the SDK IPC client on Linux and MacOS more accurate - Remove support for Windows. This will not be out yet during beta.
1 parent 451bda7 commit b38e88f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/onepassword/desktop_core.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,9 @@ def find_1password_lib_path():
2020
elif os_name == "Linux":
2121
locations = [
2222
"/usr/bin/1password/libop_sdk_ipc_client.so",
23-
"/opt/1password/libop_sdk_ipc_client.so",
23+
"/opt/1Password/libop_sdk_ipc_client.so",
2424
"/snap/bin/1password/libop_sdk_ipc_client.so",
2525
]
26-
elif os_name == "Windows":
27-
locations = [
28-
r"C:\Program Files\1Password\op_sdk_ipc_client.dll",
29-
r"C:\Program Files (x86)\1Password\op_sdk_ipc_client.dll",
30-
str(Path.home() / r"AppData\Local\1Password\op_sdk_ipc_client.dll"),
31-
]
3226
else:
3327
raise OSError(f"Unsupported operating system: {os_name}")
3428

0 commit comments

Comments
 (0)