Separate files
This commit is contained in:
parent
801b4e7626
commit
dc61cfb45c
|
@ -101,6 +101,10 @@ class ZAZLaTex2SVG(unohelper.Base, XJobExecutor):
|
||||||
self.ctx = ctx
|
self.ctx = ctx
|
||||||
|
|
||||||
def trigger(self, args=''):
|
def trigger(self, args=''):
|
||||||
|
main.ID_EXTENSION = ID_EXTENSION
|
||||||
|
main.run(args, __file__)
|
||||||
|
return
|
||||||
|
|
||||||
if args == 'app':
|
if args == 'app':
|
||||||
self._app()
|
self._app()
|
||||||
return
|
return
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import easymacro as app
|
||||||
|
|
||||||
|
|
||||||
|
ID_EXTENSION = ''
|
||||||
|
_ = None
|
||||||
|
|
||||||
|
|
||||||
|
def run(args, path_locales):
|
||||||
|
global _
|
||||||
|
_ = app.install_locales(path_locales)
|
||||||
|
globals()[args]()
|
||||||
|
return
|
Loading…
Reference in New Issue