File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -386,13 +386,14 @@ if __name__ == "__main__":
386
386
print ".%s is not a supported extension!" % item_extension
387
387
exit (1 )
388
388
389
+ foundapps = []
390
+
389
391
# if item is an app, just pass it on
390
392
if item_extension == 'app' :
391
393
if not os .path .exists (item_path ):
392
394
print "This does not seem to be an Application!"
393
395
exit (1 )
394
-
395
- app_path = item_path
396
+ foundapps .append (item_path )
396
397
397
398
dmgvolumepaths = []
398
399
tmp_path = None
@@ -405,7 +406,6 @@ if __name__ == "__main__":
405
406
# if item is a dmg, mount it and find useful contents
406
407
if item_extension == 'dmg' :
407
408
dmgvolumepaths = attachdmg (item_path )
408
- foundapps = []
409
409
for x in dmgvolumepaths :
410
410
moreapps = finditemswithextension (x , 'app' )
411
411
foundapps .extend (moreapps )
You can’t perform that action at this time.
0 commit comments