Skip to content

Commit b7465ab

Browse files
committed
now works with .app input again
1 parent fc39c01 commit b7465ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

quickpkg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,13 +386,14 @@ if __name__ == "__main__":
386386
print ".%s is not a supported extension!" % item_extension
387387
exit(1)
388388

389+
foundapps = []
390+
389391
# if item is an app, just pass it on
390392
if item_extension == 'app':
391393
if not os.path.exists(item_path):
392394
print "This does not seem to be an Application!"
393395
exit(1)
394-
395-
app_path = item_path
396+
foundapps.append(item_path)
396397

397398
dmgvolumepaths = []
398399
tmp_path = None
@@ -405,7 +406,6 @@ if __name__ == "__main__":
405406
# if item is a dmg, mount it and find useful contents
406407
if item_extension == 'dmg':
407408
dmgvolumepaths = attachdmg(item_path)
408-
foundapps = []
409409
for x in dmgvolumepaths:
410410
moreapps = finditemswithextension(x, 'app')
411411
foundapps.extend(moreapps)

0 commit comments

Comments
 (0)