targets/Linux/XSD
author |
Andrey Skvortsov <andrej.skvortzov@gmail.com> |
|
Fri, 10 Mar 2017 17:09:48 +0300 |
changeset 1661 |
78f28f40bc10 |
parent 204 |
f572ab819769
|
child 3732 |
929276eea252 |
permissions |
-rwxr-xr-x |
wrap Beremiz startup code into separate launcher class
this should make it easier to make customized version of Beremiz IDE.
It's easy to add own splash, change version, add/disable extensions
and many other things.
For example:
[----- MyBeremiz.py ------]
#!/usr/bin/env python
from BeremizIDELauncher import BeremizIDELauncher
class MyBeremizIDELauncher(BeremizIDELauncher):
def __init__(self):
BeremizIDELauncher.__init__(self)
self.splashPath = self.Bpath("", "splash.png")
def ShowSplashScreen(self):
# comment next line to disable splash entirely
BeremizIDELauncher.ShowSplashScreen(self)
# change version
import version
version.app_version = "3.141-rc52"
def LoadExtensions(self):
# add/modifine list of extensions
# in self.extensions
BeremizIDELauncher.LoadExtensions(self)
if __name__ == '__main__':
beremiz = MyBeremizIDELauncher()
beremiz.Start()
[-------------------------]
203
|
1 |
|
|
2 |
<xsd:element name="Linux">
|
|
3 |
<xsd:complexType>
|
|
4 |
%(toolchain_gcc)s
|
|
5 |
</xsd:complexType>
|
|
6 |
</xsd:element> |