Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Protect Zecwallet Lite's wallet

Țugui Dragoș42ba1cbff030
diff --git a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
index 03e679f2..718fcba0 100644
--- a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
+++ b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
@@ -91,6 +91,7 @@ public enum ProtectedData: Sendable {
"Library/Application Support/zcoin/backups",
"Library/Application Support/Zcash/wallet.dat",
"Library/Application Support/Zcash/zingo-wallet.dat",
+ "Library/Application Support/Zcash/zecwallet-light-wallet.dat",
".zallet/wallet.db",
".zallet/encryption-identity.txt",
"Library/Containers/me.hanh.ywallet.ywallet/Data/Library/Application Support/me.hanh.ywallet.ywallet/databases",
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
index 0ab6b86f..8840d0bf 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
@@ -20,6 +20,7 @@ struct DesktopWalletTests {
".walletwasabi/client/WalletBackups/Wallet.json",
".gingerwallet/client/Wallets/Wallet.json",
".gingerwallet/client/WalletBackups/Wallet.json",
+ "Library/Application Support/Zcash/zecwallet-light-wallet.dat",
])
func refusesWhatAWalletKeeps(_ key: String) throws {
let directory = try TemporaryDirectory()