forked from akanyan/STARTLINER
fix: release build
This commit is contained in:
@ -76,7 +76,7 @@ pub async fn run(_args: Vec<String>) {
|
||||
}
|
||||
#[cfg(not(debug_assertions))]
|
||||
{
|
||||
if std::env::var("DEBUG_LOG") {
|
||||
if std::env::var("DEBUG_LOG").is_ok() {
|
||||
fern_builder = fern_builder.level(log::LevelFilter::Debug);
|
||||
} else {
|
||||
fern_builder = fern_builder.level(log::LevelFilter::Info);
|
||||
|
@ -310,7 +310,7 @@ impl Profile {
|
||||
game_builder
|
||||
.raw_arg("--mempatch")
|
||||
.arg(self.data_dir().join("patch-game.mph"))
|
||||
.env("MEMPATCHER_LOG_PATH", self.data_dir().join("mempatcher-game.log"));;
|
||||
.env("MEMPATCHER_LOG_PATH", self.data_dir().join("mempatcher-game.log"));
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
|
Reference in New Issue
Block a user