diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index e6571512..90f42f04 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -34,6 +34,16 @@ jobs: pyinstaller main.spec # Add other necessary steps here + - name: Prepare distribution + run: | + mkdir dist\main\log + mkdir dist\main\pics + mkdir dist\main\log\screenshots + mkdir dist\main\decisionmaker + copy icon.ico dist\main + copy config_default.ini dist\main\config.ini + xcopy vboxapi dist\main\vboxapi\ /E + - name: Install NSIS run: | choco install nsis @@ -45,4 +55,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: compiled-app - path: path/to/your/compiled/app + path: DeepMindPokerbot_winstaller.exe diff --git a/.gitignore b/.gitignore index 0a5adc8e..481e4c36 100644 --- a/.gitignore +++ b/.gitignore @@ -169,7 +169,6 @@ package.bat *.nsi pokwerbot_downloader_initia.py desktop.ini -config_default.ini pokerbot_downloader_initial.py config.ini /poker/tests/test_tensorflow.py diff --git a/poker/config_default.ini b/poker/config_default.ini new file mode 100644 index 00000000..5fb32da1 --- /dev/null +++ b/poker/config_default.ini @@ -0,0 +1,10 @@ +[main] +terminalmode = 0 +setupmode = 0 +montecarlo_timeout = 8 +last_strategy = Trial 1 +control = Direct mouse control +table_scraper_name = Official Poker Stars +login = guest +password = guest +db = http://dickreuter.com:7777/ \ No newline at end of file