Skip to content

Commit

Permalink
fix some bugs + no upx for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Kqzz committed Aug 22, 2023
1 parent 415a682 commit 07a49c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ changelog:
- "^test:"
# .goreleaser.yaml
upx:
- enabled: true
- enabled: false
compress: best
lzma: false
brute: true
Expand Down
6 changes: 3 additions & 3 deletions cmd/cli/snipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func snipe(username string) error {
err = nil

giftCodeLines, _ := readLines("gc.txt")
gamepassLines, _ := readLines("gc.txt")
gamepassLines, _ := readLines("gp.txt")
microsoftLines, _ := readLines("ms.txt")

gcs, parseErrors := parseAccounts(giftCodeLines, mc.MsPr)
Expand Down Expand Up @@ -114,9 +114,9 @@ func snipe(username string) error {
}

if account.Type == mc.MsPr {
isGc, checkErr := account.HasGcApplied()
_, checkErr := account.HasGcApplied()

if checkErr != nil || !isGc {
if checkErr != nil {
log.Log("err", "failed to confirm gift code claim for %v: %v", account.Email, checkErr)
continue
}
Expand Down

0 comments on commit 07a49c2

Please sign in to comment.