summarylogtreecommitdiffstats
path: root/emulator.patch
blob: 3b56bedbd334c112fed8785197ae32c8427e000b (plain)
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
diff --unified --recursive --text Emulator/v6.0.0/AppManager.sh "Emulator (copy)/v6.0.0/AppManager.sh"
--- Emulator/v6.0.0/AppManager.sh	2020-02-11 15:09:50.000000000 +0000
+++ "Emulator (copy)/v6.0.0/AppManager.sh"	2020-05-20 21:54:03.378154488 +0100
@@ -1 +1,4 @@
-"$LG_WEBOS_TV_SDK_HOME/Resources/Jre/bin/java" -jar "$LG_WEBOS_TV_SDK_HOME/Emulator/v6.0.0/AppManager-1.0.jar" 9e8b9f29-44b2-4b6e-3053-3058a70342cb 
+#!/bin/bash
+export LG_WEBOS_TV_SDK_HOME=/usr/share/webOS_TV_SDK
+export WEBOS_CLI_TV=/usr/share/webOS_TV_SDK/CLI/bin
+java -jar "$LG_WEBOS_TV_SDK_HOME/Emulator/v6.0.0/AppManager-1.0.jar" 9e8b9f29-44b2-4b6e-3053-3058a70342cb
diff --unified --recursive --text Emulator/v6.0.0/LG_webOS_TV_Emulator.sh "Emulator (copy)/v6.0.0/LG_webOS_TV_Emulator.sh"
--- Emulator/v6.0.0/LG_webOS_TV_Emulator.sh	2020-02-11 15:09:50.000000000 +0000
+++ "Emulator (copy)/v6.0.0/LG_webOS_TV_Emulator.sh"	2020-05-20 21:53:32.861986893 +0100
@@ -1 +1,4 @@
-"$LG_WEBOS_TV_SDK_HOME/Resources/Jre/bin/java" -jar "$LG_WEBOS_TV_SDK_HOME/Emulator/v6.0.0/LG_webOS_TV_Emulator_linux.jar" 9e8b9f29-44b2-4b6e-3053-3058a70342cb
+#!/bin/bash
+export LG_WEBOS_TV_SDK_HOME=/usr/share/webOS_TV_SDK
+export WEBOS_CLI_TV=/usr/share/webOS_TV_SDK/CLI/bin
+java -jar "$LG_WEBOS_TV_SDK_HOME/Emulator/v6.0.0/LG_webOS_TV_Emulator_linux.jar" 9e8b9f29-44b2-4b6e-3053-3058a70342cb
diff --unified --recursive --text Emulator/v6.0.0/vm_register.sh "Emulator (copy)/v5.0.0/vm_register.sh"
--- Emulator/v6.0.0/vm_register.sh	2020-02-11 15:09:50.000000000 +0000
+++ "Emulator (copy)/v6.0.0/vm_register.sh"	2020-05-20 21:56:28.742383887 +0100
@@ -3,6 +3,7 @@
 #LG_WEBOS_SDK_HOME=$1
 
 # register emulator
+export LG_WEBOS_TV_SDK_HOME=/usr/share/webOS_TV_SDK
 vboxmanage registervm "$LG_WEBOS_TV_SDK_HOME/Emulator/v6.0.0/LG_webOS_TV_Emulator.vbox"
 vboxmanage sharedfolder add "LG webOS TV Emulator 6.0.0" --name "shared" --hostpath $HOME/webOS_SDK/EmulWorkspace
 
diff --unified --recursive --text Emulator/v6.0.0/vm_remove.sh "Emulator (copy)/v6.0.0/vm_remove.sh"
--- Emulator/v6.0.0/vm_remove.sh	2020-02-11 15:09:50.000000000 +0000
+++ "Emulator (copy)/v6.0.0/vm_remove.sh"	2020-05-20 21:56:42.192153998 +0100
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 # remove emulator
+export LG_WEBOS_TV_SDK_HOME=/usr/share/webOS_TV_SDK
 vboxmanage controlvm 9e8b9f29-44b2-4b6e-3053-3058a70342cb pause
 vboxmanage controlvm 9e8b9f29-44b2-4b6e-3053-3058a70342cb poweroff
 sleep 3