summarylogtreecommitdiffstats
path: root/microemulator.launcher
blob: b46cd2df1d13ebaf32b7a59ca8a3618a54c32e4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
if [ ! -e "$HOME/.microemulator" ]
then
 mkdir "$HOME/.microemulator"
fi
if [ ! -e "$HOME/.microemulator/config2.xml" ]
then
 cp "/usr/share/java/microemulator/config2.xml" "$HOME/.microemulator"
fi
for i in microemu-device-large.jar microemu-device-minimum.jar microemu-device-resizable.jar
do
 if [ ! -e "$HOME/.microemulator/$i" ]
 then
  ln -s "/usr/share/java/microemulator/devices/$i" "$HOME/.microemulator"
 fi
done
exec java -jar /usr/share/java/microemulator/microemulator.jar "$@"