audio reqs for win

This commit is contained in:
Sander Land committed 2020-06-03 23:11:39 +02:00
1 parent 4db29f7ab1
commit dc22aa8852
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
# first, logging level lower
import os
os.environ["KCFG_KIVY_LOG_LEVEL"] = os.environ.get("KCFG_KIVY_LOG_LEVEL", "warning")
os.environ['KIVY_AUDIO'] = "sdl2" # force working audio
# next, icon
from katrain.core.utils import find_package_resource # isort:skip
+3 -2
View File
@@ -1,5 +1,5 @@
# -*- mode: python ; coding: utf-8 -*-
from kivy_deps import sdl2, glew
from kivy_deps import sdl2, glew, gstreamer
from kivymd import hooks_path as kivymd_hooks_path
block_cipher = None
@@ -14,6 +14,7 @@ a = Analysis(
datas=[
("..\\katrain\\gui.kv", "katrain"),
("..\\katrain\\popups.kv", "katrain"),
("..\\katrain\\beep.wav", "katrain"),
("..\\katrain\\config.json", "katrain"),
("..\\katrain\\KataGo", "katrain\\KataGo"),
("..\\katrain\img", "katrain\\img"),
@@ -85,7 +86,7 @@ for console, name in console_names.items():
strip=False,
upx=True,
name=name,
console=False,
console=console,
icon="C:\\icon.ico",
)