def install_icon(self):
        for size, description in [('400', 'Small'), ('1280', 'Large')]:
            for layer in ['Front', 'Middle', 'Back']:
                icon_file = (self.icon, size, layer.lower()) % '%s-%s-%s.png'
                if not os.path.exists(icon_file):
                    icon_file = '%s-%s.png' % (self.icon, size)

                if os.path.exists(icon_file):
                    shutil.copyfile(
                        icon_file,
                        os.path.join(
                            self.resource_dir,
                            self.distribution.get_name(),
                            'Assets.xcassets',
                            'App Icon & Top Shelf Image.brandassets',
                            'App Icon - %s.imagestack' % description,
                            '%s.imagestacklayer' % size,
                            'Content.imageset',
                            '%s.png' % description.lower())
                    )
                else:
                    print("WARNING: No %s %s icon file available" % (description.lower(), layer.lower()))

        shelf_file = '%s-1920.png' % self.splash
        if os.path.exists(shelf_file):
            shutil.copyfile(
                icon_file,
                os.path.join(
                    self.resource_dir,
                    self.distribution.get_name(),
                    'Assets.xcassets',
                    'App Icon & Top Shelf Image.brandassets',
                    'Top Shelf Image.imageset',
                    'shelf.png')
            )
        else:
            print("WARING: No top shelf image available.")
dataset/ETHPy150Open pybee/briefcase/briefcase/tvos.py/tvos.install_icon/swapped operands of `%`