I made a pygame and made it a exe file using pyinstaller but when I ran the exe file on another device the right side of the screen got cut off, but when I ran the script on the other device, it worked just fine, I have heard that its because I made the exe file a one file and if I not do that it will be fixed, but I wanted to know if there are any other ways to fix this without making it not a onefile?
screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)