Skip to content

Commit

Permalink
fix hbloader not working on the latest commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Pika committed Oct 20, 2018
1 parent 048ffa1 commit 3598c2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ func main() {

scanner := bufio.NewScanner(resp.Body)

replacer := strings.NewReplacer("hbloader", args["name"], "0x010000000000100D", "0x"+strings.ToLower(args["tid"]))
replacer := strings.NewReplacer("hbloader", args["name"], "0x010000000000100D",
"0x"+strings.ToLower(args["tid"]), "\"application_type\" : 2", "\"application_type\" : 0")

for scanner.Scan() {
npdm.WriteString(replacer.Replace(scanner.Text()) + "\n")
Expand Down

0 comments on commit 3598c2c

Please sign in to comment.