Skip to content
Discussion options

You must be logged in to vote

This turned out pretty straightforward. I just needed to create a simple wrapper like this

import edge_tts.__main__

if __name__ == "__main__":
    edge_tts.__main__.main()

then bundle it like

pyinstaller --onedir edge_tts_portable.py --name edge_tts_portable

Don't use one file mode because it needs to unzip the content every time and make it very slow.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zhanghelook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant