mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:48:59 +08:00
Explicitly give keyring backend on Mac too.
CURA-7180
This commit is contained in:
parent
37cd12663b
commit
1c806199a4
@ -18,6 +18,9 @@ if Platform.isWindows() and hasattr(sys, "frozen"):
|
|||||||
import win32timezone
|
import win32timezone
|
||||||
from keyring.backends.Windows import WinVaultKeyring
|
from keyring.backends.Windows import WinVaultKeyring
|
||||||
keyring.set_keyring(WinVaultKeyring())
|
keyring.set_keyring(WinVaultKeyring())
|
||||||
|
if Platform.isOSX() and hasattr(sys, "frozen"):
|
||||||
|
from keyring.backends.OS_X import Keyring
|
||||||
|
keyring.set_keyring(Keyring())
|
||||||
|
|
||||||
# Even if errors happen, we don't want this stored locally:
|
# Even if errors happen, we don't want this stored locally:
|
||||||
DONT_EVER_STORE_LOCALLY: List[str] = ["refresh_token"]
|
DONT_EVER_STORE_LOCALLY: List[str] = ["refresh_token"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user