mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 16:22:43 +10:00
chore(stored manifest): swap file name and to binary encoding
This commit is contained in:
@ -101,16 +101,18 @@ impl ProcessManager {
|
||||
|
||||
let current_time = chrono::offset::Local::now();
|
||||
let mut log_file = OpenOptions::new()
|
||||
.truncate(true)
|
||||
.append(true)
|
||||
.read(true)
|
||||
.create(true)
|
||||
.open(self.log_output_dir.join(format!(
|
||||
"{}-{}.log",
|
||||
game_id,
|
||||
current_time.timestamp()
|
||||
)))
|
||||
.open(
|
||||
self.log_output_dir
|
||||
.join(format!("{}-{}.log", game_id, current_time.timestamp())),
|
||||
)
|
||||
.map_err(|v| v.to_string())?;
|
||||
|
||||
log_file.write(&Vec::new()).unwrap();
|
||||
|
||||
writeln!(
|
||||
log_file,
|
||||
"Drop: launching {} with args {:?} in {}",
|
||||
|
||||
Reference in New Issue
Block a user