Closed joao-vitor-souza closed 1 year ago
Ah a good ideas. Yeah I just tried your 2nd proposal and this works just fine on windows. I agree that this is the best solution since most of the users use windows and have now up-to-date python-installation.
So are you fine with that if we close this PR then?
So are you fine with that if we close this PR then?
Ok, I'm going to commit (except build) to dev branch, these are other changes, closing PR...
I already did so when I tested it :-)
@Joe91 , I changed the
fun-bots-helper.bat
so it runs the helper from the main folder. Thing is, the user needs to have a Python interpreter > 3.xx to run the batch.pyinstaller
compiles the script and a whole Python interpreter (and its dependencies) within the executable, so the user is indirectly using a python interpreter. Another option is runningcreate_exe_file.bat
, movefun-bots-helper.exe
fromdist
tofun-bots-helper/
and create a shortcut in the main folder pointing todev/fun-bots-helper/fun-bots-helper.exe
. What's better? I think the latter is much better, but I'm using Xubuntu and I'll have to run a bunch of stuff just to emulate Windows batches, executables and shortcuts. Can you try to do this on your machine?pyinstaller
creates an executable based on the user's OS, so it'll be much easier if you run it on Windows.