Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
installer: switch to use named pipe #2961
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jan 14, 2019
1 parent 43cd14a commit 6a1709b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions installer/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ Socket = require("socket")
socket = Socket -- Although this is not preferred, it is a common alias...

App.start_ui(App.UIBridge.new(require("dfui"), {
transport = App.conf.dfui_transport or "tcp",
rendezvous = App.conf.dfui_rendezvous or "9999",
transport = App.conf.dfui_transport or "npipe",
rendezvous = App.conf.dfui_rendezvous or "installer",
log = App.log
}))

Expand Down
4 changes: 2 additions & 2 deletions ncurses/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ main(int argc, char **argv)
argv += optind;

if (!transport)
transport = user_get_transport("tcp");
transport = user_get_transport("npipe");

if (rendezvous == NULL) {
if (transport == DFUI_TRANSPORT_TCP) {
rendezvous = aura_strdup("9999");
} else {
rendezvous = aura_strdup("test");
rendezvous = aura_strdup("installer");
}
}

Expand Down

0 comments on commit 6a1709b

Please sign in to comment.