mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 19:55:49 +03:00
[GH-ISSUE #147] error in: "One File" #137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GIKExe on GitHub (Dec 15, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/147
the main file is: шаблон.py
I also import: server in it.py and player.py
I also have to upload to" onefile " the format: Subdex_Bold.ttf
also, all additional files I save to: "."
in the file шаблон.exe, in the code шаблон.py, on the line: font = pygame.font.Font('Subdex_Bold.ttf', 26) the error occurs: "wrong file path"!
( if that I activated: pygame.init() )
Help me!
@GIKExe commented on GitHub (Dec 15, 2020):
@brentvollebregt commented on GitHub (Dec 16, 2020):
Were you able to get this working as one-directory (not one file)?
@GIKExe commented on GitHub (Dec 16, 2020):
Yes, I could, but this is a little different. I really do not understand why the address in "onefile" is not the one that was set. this problem only affects the font.ttf file.