1. Miki Tebeka
  2. nrsc

Commits

Miki Tebeka  committed e944db4

builds

  • Participants
  • Parent commits 50bc720
  • Branches gomain

Comments (0)

Files changed (1)

File nrsc/nrsc.go

View file
 	}
 	defer exefo.Close()
 
-	_, err = exefo.Seek(os.SEEK_END, 0)
+	_, err = exefo.Seek(0, os.SEEK_END)
 	if err != nil {
 		return err
 	}
 }
 
 func fixZipOffset(exe string) error {
-	return exec.Command("zip", "-q", "-A", exec).Run()
+	return exec.Command("zip", "-q", "-A", exe).Run()
 }
 
 func main() {