File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 5
5
import glob
6
6
import subprocess
7
7
8
- version = '15_2 '
8
+ version = '15_5 '
9
9
10
10
output = 'am2r_' + version
11
11
@@ -50,7 +50,7 @@ def _getch():
50
50
if os .path .isdir ('AM2R.AppDir' ):
51
51
rmtree ('AM2R.AppDir' )
52
52
53
- print ("-------------------------------------------\n \n AM2R 1.5.1 Python Autopatching Utility\n Scripted by Lojemiru\n \n -------------------------------------------\n " )
53
+ print ("-------------------------------------------\n \n AM2R 1.5.5 Python Autopatching Utility\n Scripted by Lojemiru\n \n -------------------------------------------\n " )
54
54
55
55
# Check for AM2R_11.zip...
56
56
if os .path .isfile ('AM2R_11.zip' ):
@@ -240,7 +240,9 @@ def _getch():
240
240
# remove(output+"/game.unx")
241
241
242
242
copytree (output , "utilities/android/assets" )
243
- copy ("data/android/AM2R.ini" , "utilities/android/assets" )
243
+ # Only copy the file over if it exists
244
+ if (os .path .exists ("data/android/AM2R.ini" )):
245
+ copy ("data/android/AM2R.ini" , "utilities/android/assets" )
244
246
245
247
# Install new datafiles...
246
248
print ("\n Installing new datafiles..." )
You can’t perform that action at this time.
0 commit comments