Packaging including a database file. #2187
              
                Unanswered
              
          
                  
                    
                      LuciferEwah
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I'm trying to package a desktop program with the database included by default with --onefile, I add the ❯ flet pack main.py --add-data="db\bd.db;."
but still, it is not packaged with the database inside the program, it works but when I put the database inside the same folder as the executable
Does anyone know how this can be solved?
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions