Skip to content

Commit

Permalink
drop uri parsing, pass to binary directly
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Sep 8, 2023
1 parent 2743211 commit 78bcfcb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 139 deletions.
6 changes: 2 additions & 4 deletions cmd/vinegar/binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ func Binary(bt roblox.BinaryType, cfg *config.Config, pfx *wine.Prefix, args ...
}
}

if strings.HasPrefix(strings.Join(args, " "), "roblox-player:1") {
args = bootstrapper.ParsePlayerURI(args[0])
} else if strings.HasPrefix(strings.Join(args, " "), "roblox-studio:1") {
args = append([]string{"-protocolString"}, args[0])
if strings.HasPrefix(strings.Join(args, " "), "roblox-studio:1") {
args = []string{"-protocolString", args[0]}
}

if appCfg.ForcedVersion != "" {
Expand Down
92 changes: 0 additions & 92 deletions roblox/bootstrapper/uri.go

This file was deleted.

43 changes: 0 additions & 43 deletions roblox/bootstrapper/uri_test.go

This file was deleted.

0 comments on commit 78bcfcb

Please sign in to comment.