Make sugar-emulator [program] actually work again
This commit is contained in:
parent
8ddaa516b3
commit
e1f0ba15f4
@ -39,7 +39,7 @@ from sugar.emulator import Emulator
|
|||||||
import _sugar
|
import _sugar
|
||||||
|
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
program = 'sugar-shell'
|
program = 'shell/sugar-shell'
|
||||||
else:
|
else:
|
||||||
program = sys.argv[1]
|
program = sys.argv[1]
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ emulator = Emulator(width, height, fullscreen, dpi)
|
|||||||
emulator.start()
|
emulator.start()
|
||||||
|
|
||||||
if sourcedir:
|
if sourcedir:
|
||||||
program = os.path.join(os.path.join(sourcedir, 'shell'), program)
|
program = os.path.join(sourcedir, program)
|
||||||
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program, sourcedir)
|
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program, sourcedir)
|
||||||
else:
|
else:
|
||||||
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program)
|
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
VERSION=0.63
|
VERSION=0.63
|
||||||
DATE=`date +%Y%m%d`
|
DATE=`date +%Y%m%d`
|
||||||
RELEASE=2.46
|
RELEASE=2.47
|
||||||
TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2
|
TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2
|
||||||
|
|
||||||
rm sugar-$VERSION.tar.bz2
|
rm sugar-$VERSION.tar.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user