mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-30 10:42:09 +08:00
mihomo's updater truncates its own running executable in place; macOS kills that under Hardened Runtime and leaves a 0-byte core. Verge now downloads the release, verifies a staged copy next to the target, and renames it into place, which never touches the inode the running core executes from. Closes #6834
23 lines
355 B
Rust
23 lines
355 B
Rust
mod backup;
|
|
mod clash;
|
|
mod config;
|
|
mod core_upgrade;
|
|
mod icon;
|
|
mod listener;
|
|
mod profile;
|
|
mod proxy;
|
|
mod tun;
|
|
mod window;
|
|
|
|
// Re-export all functions from modules
|
|
pub use backup::*;
|
|
pub use clash::*;
|
|
pub use config::*;
|
|
pub use core_upgrade::*;
|
|
pub use icon::*;
|
|
pub use listener::*;
|
|
pub use profile::*;
|
|
pub use proxy::*;
|
|
pub use tun::*;
|
|
pub use window::*;
|