-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
41 lines (29 loc) · 1.15 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import os
import kivy
from kivy.config import Config
print(kivy.__version__)
kivy.require('2.0.0')
from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.button import Button
Config.set('kivy', 'keyboard_mode', 'systemandmulti')
# Replace here
from engine.app_main import EditorMain
Config.set('graphics', 'resizable', True)
class MyApp(App):
def aboutCrossK(self):
print("-------------------------------------------------")
print("-CrossK engine App build 0.5.0 BETA .-")
print("-This is build pack root class for final app .-")
print("-build. Optimised and represent single target .-")
print("-We build all platforms with this class .-")
print("-------------------------------------------------")
print("-------------------------------------------------")
print("-SUPPORT PACKAGE TARGETS: WIN, LINUX-------------")
print("-------------------------------------------------")
def build(self):
self.title = 'CROSSK ENGINE'
self.aboutCrossK()
return EditorMain(pack="Project1")
if __name__ == '__main__':
MyApp().run()