update: enable Tor by default on macOS

It works now, should be on by default.
This commit is contained in:
hinto.janai 2023-06-01 11:55:01 -04:00
parent 380620c050
commit 95287c003d
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -1088,10 +1088,7 @@ impl Default for Gupax {
auto_xmrig: false, auto_xmrig: false,
ask_before_quit: true, ask_before_quit: true,
save_before_quit: true, save_before_quit: true,
#[cfg(not(target_os = "macos"))]
update_via_tor: true, update_via_tor: true,
#[cfg(target_os = "macos")] // Arti library has issues on macOS
update_via_tor: false,
p2pool_path: DEFAULT_P2POOL_PATH.to_string(), p2pool_path: DEFAULT_P2POOL_PATH.to_string(),
xmrig_path: DEFAULT_XMRIG_PATH.to_string(), xmrig_path: DEFAULT_XMRIG_PATH.to_string(),
absolute_p2pool_path: into_absolute_path(DEFAULT_P2POOL_PATH.to_string()).unwrap(), absolute_p2pool_path: into_absolute_path(DEFAULT_P2POOL_PATH.to_string()).unwrap(),