mirror of
https://github.com/Melon-Bread/EagleJab
synced 2024-11-24 20:28:19 -05:00
Applied Name Change (For Real This Time)
This commit is contained in:
parent
70b22aeb1b
commit
85551e6365
@ -16,7 +16,7 @@ args = parser.parse_args()
|
|||||||
if args.cia:
|
if args.cia:
|
||||||
cia = args.cia[0]
|
cia = args.cia[0]
|
||||||
else:
|
else:
|
||||||
cia = tkFileDialog.askopenfilename(title=u"Falcon Punch - Choose CIA to Send", initialdir=u"/",
|
cia = tkFileDialog.askopenfilename(title=u"Eagle Jab - Choose CIA to Send", initialdir=u"/",
|
||||||
defaultextension=u".cia", filetypes=[(u"CIA File", u"*.cia")], multiple=False)
|
defaultextension=u".cia", filetypes=[(u"CIA File", u"*.cia")], multiple=False)
|
||||||
|
|
||||||
statinfo = os.stat(cia)
|
statinfo = os.stat(cia)
|
||||||
@ -26,7 +26,7 @@ fbiinfo = struct.pack(u'!q', statinfo.st_size)
|
|||||||
if args.ip:
|
if args.ip:
|
||||||
dsip = args.ip[0]
|
dsip = args.ip[0]
|
||||||
else:
|
else:
|
||||||
dsip = tkSimpleDialog.askstring(u"Falcon Punch", u"Enter 3Ds' IP:")
|
dsip = tkSimpleDialog.askstring(u"Eagle Jab", u"Enter 3Ds' IP:")
|
||||||
|
|
||||||
file = open(cia, u"rb")
|
file = open(cia, u"rb")
|
||||||
sock = socket.socket()
|
sock = socket.socket()
|
||||||
@ -43,7 +43,7 @@ while True:
|
|||||||
if args.cia and args.ip:
|
if args.cia and args.ip:
|
||||||
print confirmation
|
print confirmation
|
||||||
else:
|
else:
|
||||||
tkMessageBox.showinfo(u"Falcon Punch", confirmation)
|
tkMessageBox.showinfo(u"Eagle Jab", confirmation)
|
||||||
break # EOF
|
break # EOF
|
||||||
sock.sendall(chunk)
|
sock.sendall(chunk)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user