mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
This ensures we won't accidentally ship prod binaries that either have logging enabled or disable signature validation.
13 lines
626 B
Rust
13 lines
626 B
Rust
// Enable this to log to a file. The way this executable is used, it's not easy to debug and the stdout gets lost.
|
|
// This is intended for development time only.
|
|
pub const ENABLE_DEVELOPER_LOGGING: bool = false;
|
|
|
|
// The absolute path to log file when developer logging is enabled
|
|
// Change this to a suitable path for your environment
|
|
pub const LOG_FILENAME: &str = "c:\\path\\to\\log.txt";
|
|
|
|
/// Ensure the signature of the helper and main binary is validated in production builds
|
|
///
|
|
/// This must be true in release builds but may be disabled in debug builds for testing.
|
|
pub const ENABLE_SIGNATURE_VALIDATION: bool = true;
|