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 the wallets of Umami and My Wallet

Țugui Dragoșc899087f75b7
diff --git a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
index e920fb07..1fb224e0 100644
--- a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
+++ b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
@@ -128,6 +128,8 @@ public enum ProtectedData: Sendable {
"Library/Application Support/@onekeyhq/desktop",
"Library/Application Support/Frame/signers",
"Library/Application Support/rabby-desktop",
+ "Library/Application Support/umami",
+ "Library/Application Support/MyTonWallet",
"Library/Ethereum/keystore",
".foundry/keystores",
"Library/Preferences/hardhat-nodejs",
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
index 21c00b0b..ebe9d365 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
@@ -27,6 +27,9 @@ struct DesktopWalletTests {
"Library/Application Support/Haveno-reto/xmr_mainnet/keys/sig.key",
"Library/Containers/com.cypherstack.stackwallet/Data/Library/stackwallet/isar/desktopStore.isar",
"Library/stackwallet/isar/desktopStore.isar",
+ "Library/Application Support/umami/Local Storage/leveldb/000003.log",
+ "Library/Application Support/umami/Local Storage/backup_leveldb.json",
+ "Library/Application Support/MyTonWallet/IndexedDB/file__0.indexeddb.leveldb/000003.log",
])
func refusesWhatAWalletKeeps(_ key: String) throws {
let directory = try TemporaryDirectory()