Browse Source

添加执行文件

SisMaker 4 years ago
parent
commit
652ea2d3d4
2 changed files with 1 additions and 1 deletions
  1. BIN
      priv/fileSync.exe
  2. +1
    -1
      src/sync/esScanner.erl

BIN
priv/fileSync.exe View File


+ 1
- 1
src/sync/esScanner.erl View File

@ -125,7 +125,7 @@ handleAfter(_, waiting, State) ->
io:format("IMY******************11111"),
spawn(fun() -> case os:type() of
{win32, _Osname} ->
os:cmd("start ./priv/fileSync ./ " ++ integer_to_list(ListenPort));
os:cmd("start ./priv/fileSync.exe ./ " ++ integer_to_list(ListenPort));
_ ->
os:cmd("./priv/fileSync ./ " ++ integer_to_list(ListenPort))
end end),

Loading…
Cancel
Save