mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 03:11:03 -07:00
Merge pull request #9538 from Ultimaker/CURA-7180_frozen_mac_keyring_fix
[CURA-7180] Explicitly give keyring-backend on Mac too.
This commit is contained in:
commit
bd96978d37
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ if Platform.isWindows() and hasattr(sys, "frozen"):
|
|||
import win32timezone
|
||||
from keyring.backends.Windows import WinVaultKeyring
|
||||
keyring.set_keyring(WinVaultKeyring())
|
||||
if Platform.isOSX() and hasattr(sys, "frozen"):
|
||||
from keyring.backends.macOS import Keyring
|
||||
keyring.set_keyring(Keyring())
|
||||
|
||||
# Even if errors happen, we don't want this stored locally:
|
||||
DONT_EVER_STORE_LOCALLY: List[str] = ["refresh_token"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue