parent
b1b5ffff95
commit
b7e9152cc2
@ -10,9 +10,9 @@
|
|||||||
!define DESCRIPTION "Fast, light, robust Ethereum implementation"
|
!define DESCRIPTION "Fast, light, robust Ethereum implementation"
|
||||||
!define VERSIONMAJOR 1
|
!define VERSIONMAJOR 1
|
||||||
!define VERSIONMINOR 8
|
!define VERSIONMINOR 8
|
||||||
!define VERSIONBUILD 2
|
!define VERSIONBUILD 3
|
||||||
!define ARGS ""
|
!define ARGS ""
|
||||||
!define FIRST_START_ARGS "ui --mode=passive"
|
!define FIRST_START_ARGS "--mode=passive ui"
|
||||||
|
|
||||||
!addplugindir .\
|
!addplugindir .\
|
||||||
|
|
||||||
|
BIN
nsis/logo.ico
BIN
nsis/logo.ico
Binary file not shown.
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 114 KiB |
@ -302,9 +302,13 @@ pub fn new_ipc<D: rpc_apis::Dependencies>(
|
|||||||
let handler = setup_apis(conf.apis, dependencies);
|
let handler = setup_apis(conf.apis, dependencies);
|
||||||
let remote = dependencies.remote.clone();
|
let remote = dependencies.remote.clone();
|
||||||
let path = PathBuf::from(&conf.socket_addr);
|
let path = PathBuf::from(&conf.socket_addr);
|
||||||
if let Some(dir) = path.parent() {
|
// Make sure socket file can be created on unix-like OS.
|
||||||
::std::fs::create_dir_all(&dir)
|
// Windows pipe paths are not on the FS.
|
||||||
.map_err(|err| format!("Unable to create IPC directory at {}: {}", dir.display(), err))?;
|
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) {
|
match rpc::start_ipc(&conf.socket_addr, handler, remote, rpc::RpcExtractor) {
|
||||||
|
@ -315,8 +315,9 @@ void OpenUI()
|
|||||||
STARTUPINFO startupInfo = { sizeof(STARTUPINFO) };
|
STARTUPINFO startupInfo = { sizeof(STARTUPINFO) };
|
||||||
|
|
||||||
LPWSTR args = new WCHAR[lstrlen(commandLineFiltered) + MAX_PATH + 2];
|
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, commandLineFiltered);
|
||||||
|
lstrcat(args, L" ui");
|
||||||
CreateProcess(path, args, nullptr, nullptr, false, CREATE_NO_WINDOW, nullptr, nullptr, &startupInfo, &procInfo);
|
CreateProcess(path, args, nullptr, nullptr, false, CREATE_NO_WINDOW, nullptr, nullptr, &startupInfo, &procInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user