Skip to content

Commit

Permalink
changelog for patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 3, 2021
1 parent 67ea295 commit 9400b1a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 7 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## v1.5.0 (2021-02-28)
## v1.5.1 (2021-03-03)

* Use shell instead of explorer on windows, reverting the original behaviour.

## v1.5.0 (2021-02-28) - YANKED

YANKED to avoid potential for breakage by using 'explorer.exe' to open URLs.

* Use 'explorer' on Windows instead of a shell.

Expand Down
12 changes: 7 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@ pub fn with_in_background<T: AsRef<OsStr> + Sized>(

#[cfg(windows)]
mod windows {
use std::ffi::OsStr;
use std::io;
use std::os::windows::{ffi::OsStrExt, process::ExitStatusExt};
use std::process::ExitStatus;
use std::ptr;
use std::{
ffi::OsStr,
io,
os::windows::{ffi::OsStrExt, process::ExitStatusExt},
process::ExitStatus,
ptr
};

use winapi::ctypes::c_int;
use winapi::um::shellapi::ShellExecuteW;
Expand Down

0 comments on commit 9400b1a

Please sign in to comment.