diff --git a/nsis/installer.nsi b/nsis/installer.nsi index 39a5969c3..6a9c2a287 100644 --- a/nsis/installer.nsi +++ b/nsis/installer.nsi @@ -10,9 +10,9 @@ !define DESCRIPTION "Fast, light, robust Ethereum implementation" !define VERSIONMAJOR 1 !define VERSIONMINOR 8 -!define VERSIONBUILD 2 +!define VERSIONBUILD 3 !define ARGS "" -!define FIRST_START_ARGS "ui --mode=passive" +!define FIRST_START_ARGS "--mode=passive ui" !addplugindir .\ diff --git a/nsis/logo.ico b/nsis/logo.ico index 61e68b90b..337475b70 100644 Binary files a/nsis/logo.ico and b/nsis/logo.ico differ diff --git a/parity/rpc.rs b/parity/rpc.rs index d0f92cf38..18550c14c 100644 --- a/parity/rpc.rs +++ b/parity/rpc.rs @@ -302,9 +302,13 @@ pub fn new_ipc( let handler = setup_apis(conf.apis, dependencies); let remote = dependencies.remote.clone(); let path = PathBuf::from(&conf.socket_addr); - if let Some(dir) = path.parent() { - ::std::fs::create_dir_all(&dir) - .map_err(|err| format!("Unable to create IPC directory at {}: {}", dir.display(), err))?; + // Make sure socket file can be created on unix-like OS. + // Windows pipe paths are not on the FS. + if !cfg!(windows) { + if let Some(dir) = path.parent() { + ::std::fs::create_dir_all(&dir) + .map_err(|err| format!("Unable to create IPC directory at {}: {}", dir.display(), err))?; + } } match rpc::start_ipc(&conf.socket_addr, handler, remote, rpc::RpcExtractor) { diff --git a/windows/ptray/ptray.cpp b/windows/ptray/ptray.cpp index 30f41b35a..8fc29880e 100644 --- a/windows/ptray/ptray.cpp +++ b/windows/ptray/ptray.cpp @@ -315,8 +315,9 @@ void OpenUI() STARTUPINFO startupInfo = { sizeof(STARTUPINFO) }; LPWSTR args = new WCHAR[lstrlen(commandLineFiltered) + MAX_PATH + 2]; - lstrcpy(args, L"parity.exe ui "); + lstrcpy(args, L"parity.exe "); lstrcat(args, commandLineFiltered); + lstrcat(args, L" ui"); CreateProcess(path, args, nullptr, nullptr, false, CREATE_NO_WINDOW, nullptr, nullptr, &startupInfo, &procInfo); }