Skip to content

Commit

Permalink
Improved GLFW for installation and compilation with GLFW in standard …
Browse files Browse the repository at this point in the history
…library.
  • Loading branch information
nthnn committed Dec 13, 2024
1 parent ed974f0 commit c35b4cf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def download_file(url, local_filename):
if chunk:
f.write(chunk)

subprocess.run(['dir'])
print(f"{local_filename} has been downloaded successfully.")
unzip_and_move_contents(local_filename, "temp")

Expand Down Expand Up @@ -162,12 +161,10 @@ def include_sha_headers():

try:
print('Pulling submodules...', end='')
subprocess.run([
'git submodule update --init --recursive',
'git pull --recurse-submodules'
])
ext_instructions = get_ext_instructions()
subprocess.run(['git', 'submodule', 'update', '--init', '--recursive'])
subprocess.run(['git', 'pull', '--recurse-submodules'])

ext_instructions = get_ext_instructions()
if PLATFORM == 'Linux':
subprocess.run([
'sudo apt install -y libglfw3-dev libgl1-mesa-dev'
Expand Down

0 comments on commit c35b4cf

Please sign in to comment.