aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin
diff options
context:
space:
mode:
authorDave Blake <oak99sky@yahoo.co.uk>2021-01-12 08:53:38 +0000
committerGitHub <noreply@github.com>2021-01-12 08:53:38 +0000
commit91ba97b1479f5ce7bc81ae3dc413f497ba6a41d0 (patch)
treebef2ebe208c6d05c2a7f83c170669a56d5cf937b /tools/darwin
parent869212f02e9bee58d963175434835b64754d0cc0 (diff)
parent0d5f8a38f03b54092a3a3c54d07fd6bb6cfb0fd9 (diff)
Merge pull request #18779 from basilgello/desktop-keywords
[Linux] Fix Lintian warnings
Diffstat (limited to 'tools/darwin')
-rwxr-xr-xtools/darwin/Support/GenerateMissingImages-tvos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/darwin/Support/GenerateMissingImages-tvos.py b/tools/darwin/Support/GenerateMissingImages-tvos.py
index cc71376b8e..158186e838 100755
--- a/tools/darwin/Support/GenerateMissingImages-tvos.py
+++ b/tools/darwin/Support/GenerateMissingImages-tvos.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
import sys, os, json
from subprocess import call
@@ -25,5 +25,5 @@ generateImage(sys.argv[3] + '.launchimage', True, 3840, 2160)
generateImage(os.path.join(brandAssetsDir, 'topshelf_wide.imageset'), True, 4640, 1440)
appIconSmall = os.path.join(brandAssetsDir, 'icon.imagestack')
-for i in xrange(1, 5):
+for i in range(1, 5):
generateImage(os.path.join(appIconSmall, 'Layer{}.imagestacklayer'.format(i), 'Content.imageset'), False, 400, 240)