After macOS is packaged and successfully installed Moonsweeper, execute crash

I downloaded the source code of Moonsweeper and packaged it with fbs.
There is no problem when I execute ‘fbs run’
I use the fbs packaging program and execute the following commands: all successful

fbs freeze
fbs installer

But it crashed immediately after running, showing: “Moonsweeper” quit unexpectedly

My system configuration:

macOS Catalina 10.15.7
Python 3.6.8rc1 (v3.6.8rc1:cc3e73212a, Dec 11 2018, 18:57:06)



The execution of the dmg package I downloaded from the link in the book is OK.
Later, I wrote an almost empty program, and the execution after packaging is still crash.
Please help me.