File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -166,10 +166,14 @@ function App() {
166
166
// prepare the walletshield binary for execution
167
167
////////////////////////////////////////////////////////////////////////
168
168
if ( platform ( ) === "linux" || platform ( ) === "macos" ) {
169
- const output = await Command . create ( "chmod+x" , [
170
- "+x" ,
171
- fileWalletshield ,
172
- ] ) . execute ( ) ;
169
+ log . debug ( `executing command: chmod +x walletshield` ) ;
170
+ const output = await Command . create (
171
+ "chmod-walletshield" ,
172
+ [ "+x" , "walletshield" ] ,
173
+ {
174
+ cwd : dirNetwork ,
175
+ } ,
176
+ ) . execute ( ) ;
173
177
if ( output . code !== 0 ) {
174
178
throw new Error ( `Failed to chmod+x walletshield: ${ output . stderr } ` ) ;
175
179
}
@@ -181,7 +185,7 @@ function App() {
181
185
setMsgType ( ( ) => "info" ) ;
182
186
setMsg ( ( ) => `Starting network client...` ) ;
183
187
const cmd = "walletshield" ;
184
- const args = [ "-listen" , ":7070" , "-config" , fileClientCfg ] ;
188
+ const args = [ "-listen" , ":7070" , "-config" , "client.toml" ] ;
185
189
const command = Command . create ( "walletshield-listen" , args , {
186
190
cwd : dirNetwork ,
187
191
env : {
You can’t perform that action at this time.
0 commit comments