Browse code

Add directories for Java applets.

Note: this was tested using IcedTea-Web and OpenJDK.

Xavier G authored on 26/02/2016 15:41:16
Showing 1 changed files

... ...
@@ -71,6 +71,8 @@ if [ -x "$(which proot)" ]; then
71 71
 	#   - a ~/Uploads directory is present
72 72
 	#   - ~/.adobe and ~/.macromedia are still there
73 73
 	#     (for the sake of Flash Player and other plugins)
74
+	#   - various directories related to Java applets are still there
75
+	#     (assuming IcedTea-Web >= 1.5 / OpenJDK)
74 76
 	#   - /tmp is empty
75 77
 	#     (as in: do not even try to mess with the Unix sockets to ssh-agent)
76 78
 	proot \
... ...
@@ -81,6 +83,10 @@ if [ -x "$(which proot)" ]; then
81 83
 		-b "${upload_dir}:${HOME}/Uploads" \
82 84
 		-b "${HOME}/.adobe:${HOME}/.adobe" \
83 85
 		-b "${HOME}/.macromedia:${HOME}/.macromedia" \
86
+		-b "${HOME}/.config/icedtea-web:${HOME}/.config/icedtea-web" \
87
+		-b "${HOME}/.cache/icedtea-web:${HOME}/.cache/icedtea-web" \
88
+		-b "${HOME}/.java:${HOME}/.java" \
89
+		-b "${HOME}/.local/share/applications/javaws:${HOME}/.local/share/application/javaws" \
84 90
 		-b "${tmp_dir}:/tmp" \
85 91
 		-b "/dev/null:/sys" \
86 92
 		--cwd="${HOME}" \