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 and automatic backups of Dash, PIVX and Firo

Țugui Dragoș7e02a0f6a7fb
diff --git a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
index 1b700cb9..bf2637a0 100644
--- a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
+++ b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
@@ -81,6 +81,14 @@ public enum ProtectedData: Sendable {
"Library/Application Support/Dogecoin/wallet.dat",
"Library/Application Support/DashCore/wallets",
"Library/Application Support/DashCore/wallet.dat",
+ "Library/Application Support/DashCore/backups",
+ "Library/Application Support/PIVX/wallets",
+ "Library/Application Support/PIVX/wallet.dat",
+ "Library/Application Support/PIVX/backups",
+ "Library/Application Support/firo/wallet.dat",
+ "Library/Application Support/firo/backups",
+ "Library/Application Support/zcoin/wallet.dat",
+ "Library/Application Support/zcoin/backups",
"Library/Application Support/Zcash/wallet.dat",
"Library/Application Support/Zcash/zingo-wallet.dat",
".zallet/wallet.db",
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
index 1e0f8391..8a778ef3 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift
@@ -9,6 +9,14 @@ struct DesktopWalletTests {
"Library/Preferences/hardhat-nodejs/keystore.json",
"Library/Preferences/hardhat-nodejs/dev.keystore.json",
"Library/Preferences/hardhat-nodejs/hardhat.checksum",
+ "Library/Application Support/DashCore/backups/wallet.dat.2026-10-05-12-30",
+ "Library/Application Support/PIVX/wallet.dat",
+ "Library/Application Support/PIVX/wallets/wallet.dat",
+ "Library/Application Support/PIVX/backups/wallet.dat.2026-10-05-12-30",
+ "Library/Application Support/firo/wallet.dat",
+ "Library/Application Support/firo/backups/wallet.dat.2026-10-05-12-30",
+ "Library/Application Support/zcoin/wallet.dat",
+ "Library/Application Support/zcoin/backups/wallet.dat.2026-10-05-12-30",
])
func refusesWhatAWalletKeeps(_ key: String) throws {
let directory = try TemporaryDirectory()
@@ -28,6 +36,9 @@ struct DesktopWalletTests {
@Test(arguments: [
"Library/Caches/hardhat-nodejs/compilers-v2/list.json",
+ "Library/Application Support/DashCore/blocks/blk00000.dat",
+ "Library/Application Support/PIVX/blocks/blk00000.dat",
+ "Library/Application Support/firo/blocks/blk00000.dat",
])
func leavesWhatComesBackOnItsOwn(_ cache: String) throws {
let directory = try TemporaryDirectory()