On 2016-10-25 11:40, Thomas Kluyver wrote:
> Hi Jorge, > > On 25 October 2016 at 00:00, Jorge Maldonado Ventura > <jorgesu...@freakspot.net> wrote: > >> Here is what I got, but I want to distribute just one executable file; can I >> do that with your program? >> >> ~/Code/Repos/bullet_dodger_stable/build/nsis $ ls -l >> total 49272 >> drwxr-xr-x 2 jorge jorge 4096 Oct 24 18:57 assets >> -rw-r--r-- 1 jorge jorge 21111344 Oct 24 19:05 Bullet_dodger_1.6.10.exe >> -rw-r--r-- 1 jorge jorge 1293 Oct 24 19:05 Bullet_dodger.launch.pyw >> -rw-r--r-- 1 jorge jorge 790 Oct 24 18:56 bullet.ico >> -rw-r--r-- 1 jorge jorge 6344 Oct 24 19:05 installer.nsi >> -rw-r--r-- 1 jorge jorge 34570 Oct 24 18:52 LICENSE >> drwxr-xr-x 4 jorge jorge 4096 Oct 24 19:05 pkgs >> drwxr-xr-x 2 jorge jorge 4096 Oct 24 19:05 Python >> -rw-r--r-- 1 jorge jorge 29269656 Oct 24 19:00 python-3.5.2.exe >> -rw-r--r-- 1 jorge jorge 2360 Oct 24 18:48 windowsversion.nsh > "Bullet_dodger_1.6.10.exe" is the only file you need to distribute; the > others were involved in building that. However, it is an installer - so when > the user double clicks it, they will get a standard installation wizard to > set up your game. Pynsist does not make an exe that runs your game directly. > > Thomas I tried the installer I created, but it didn't work. Apparently it installs correctly, but it doesn't launch the game. I'm using a Windows 8 virtual machine. I tried to debug, but I have no idea in Windows. I observed that the program in the Windows menu links to a file called pythonw when installed, how can I get the error message that helps me understand and solve the problem. Is there a way to test or debug the installer in GNU/Linux? Here is the installer.cfg file I used to build the executable: [Application] name=Bullet dodger version=1.6.10 # How to launch the app - this calls the 'main' function from the 'myapp' package: entry_point=bullet_dodger.main:start_screen icon=bullet_dodger/assets/bullet.ico [Python] version=3.5.2 bitness=32 format=bundled [Include] # Importable packages that your application requires, one per line pypi_wheels= pygame==1.9.2b1 # Other files and folders that should be installed files = LICENSE And here is my game: https://notabug.org/jorgesumle/bullet_dodger