Move assets to work in new setup.
|
@ -46,7 +46,7 @@ requirements = kivy,hostpython2,docutils
|
|||
#garden_requirements =
|
||||
|
||||
# (str) Presplash of the application
|
||||
presplash.filename = %(source.dir)s/images/splash.png
|
||||
presplash.filename = %(source.dir)s/images/splash.jpg
|
||||
|
||||
# (str) Icon of the application
|
||||
icon.filename = %(source.dir)s/images/icon.png
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
|
@ -21,7 +21,7 @@ LOG = logging.getLogger(__name__)
|
|||
|
||||
class JustCheckersApp(App):
|
||||
title = 'justCheckers'
|
||||
icon = 'images/icon.png'
|
||||
icon = 'justcheckers/images/icon.png'
|
||||
use_kivy_settings = False
|
||||
|
||||
def on_start(self):
|
||||
|
@ -62,7 +62,3 @@ def log_system_and_game_info():
|
|||
os_sys = '{name} {arch}'.format(name=os_name, arch=os_arch)
|
||||
|
||||
Logger.info(message.format(os=os_sys, height=root_window.height, width=root_window.width))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
JustCheckersApp().run()
|
||||
|
|
|
@ -91,7 +91,7 @@ ScreenManager:
|
|||
Label:
|
||||
size_hint_y: 0.1
|
||||
RstDocument:
|
||||
source: "justcheckers/assets/{}.md".format(root.documentation)
|
||||
source: "assets/{}.md".format(root.documentation)
|
||||
size_hint_y: 0.75
|
||||
size_hint_x: 0.9
|
||||
pos_hint: {'center_x': 0.5}
|
||||
|
|