Browse code

Add directories for Adobe/Macromedia plugins.

Note: this was tested with Flash Player only.

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

... ...
@@ -66,9 +66,11 @@ if [ -x "$(which proot)" ]; then
66 66
 	#   - the home directory is almost empty
67 67
 	#   - its configuration directory is still there
68 68
 	#   - its cache directory is still there
69
-	#   - its download directory is still there (one per session)
69
+	#   - its download directory is still there
70 70
 	#     (at least the one for English speakers)
71
-	#   - a ~/Uploads directory is present (one per session)
71
+	#   - a ~/Uploads directory is present
72
+	#   - ~/.adobe and ~/.macromedia are still there
73
+	#     (for the sake of Flash Player and other plugins)
72 74
 	#   - /tmp is empty
73 75
 	#     (as in: do not even try to mess with the Unix sockets to ssh-agent)
74 76
 	proot \
... ...
@@ -77,6 +79,8 @@ if [ -x "$(which proot)" ]; then
77 79
 		-b "${HOME}/.cache/mozilla/firefox:${HOME}/.cache/mozilla/firefox" \
78 80
 		-b "${download_dir}:${HOME}/Downloads" \
79 81
 		-b "${upload_dir}:${HOME}/Uploads" \
82
+		-b "${HOME}/.adobe:${HOME}/.adobe" \
83
+		-b "${HOME}/.macromedia:${HOME}/.macromedia" \
80 84
 		-b "${tmp_dir}:/tmp" \
81 85
 		-b "/dev/null:/sys" \
82 86
 		--cwd="${HOME}" \