Skip to content

Commit

Permalink
Fix packing script
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiskovic committed Apr 13, 2022
1 parent 4d7dc20 commit beedb8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pack.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/python
import os
import commands
import subprocess
import sys
import re

Expand Down Expand Up @@ -34,6 +34,6 @@
os.remove('game.love')
except:
pass
status, output = commands.getstatusoutput('zip game.love ' + pathlist)
status, output = subprocess.getstatusoutput('zip game.love ' + pathlist)
print(output)
print('Created game.love with size %1.2f Mb' % (os.path.getsize('./game.love') * 1E-6))

0 comments on commit beedb8e

Please sign in to comment.