Skip to content

Commit

Permalink
useless thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Evhann committed May 13, 2022
1 parent a277119 commit 7fafc95
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from os.path import join



def run(command, output=1):
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
Expand Down Expand Up @@ -94,9 +93,9 @@ def print_seperator():

shutil.copytree(join(dir_path, "vitrix"), join(build_path, "vitrix"),
ignore=shutil.ignore_patterns("__pycache__"))
os.remove(build_path + "/src/.unbuilt")
os.remove(f"{build_path}/src/.unbuilt")

pkg_name = "Vitrix-vX.X.X-" + operating_sys
pkg_name = f"Vitrix-vX.X.X-{operating_sys}"


shutil.make_archive(pkg_name, "zip", build_path)
Expand All @@ -108,4 +107,4 @@ def print_seperator():
print_seperator()
print("Build Successfully Completed!")
print("Finished On: " + d.strftime("%I:%M %p %A %B %Y"))
print("\nTotal Build Time: " + str(time.time() - start_time) + " seconds")
print(f"\nTotal Build Time: {str(time.time() - start_time)} seconds")

0 comments on commit 7fafc95

Please sign in to comment.