25 | | # to launch Safari with the builtin webkit |
26 | | if [ "$launch_program" == "safari_builtin_webkit" ] |
27 | | then |
28 | | cd "$safari_dir" |
29 | | wine Safari.exe |
30 | | fi |
| 27 | === Launching Safari with custom webkit === |
| 28 | Set up the above environment, then... |
| 29 | {{{ |
| 30 | cd "$webkit_dir" |
| 31 | # copy Safari stuff over WebKit (without replacing newer dlls) |
| 32 | cp -upv "$safari_dir/Safari.exe" . |
| 33 | cp -upv "$safari_dir"/*.dll . |
| 34 | for resource_dir in "$safari_dir"/*.resources |
| 35 | do |
| 36 | base_resource_dir="`basename "$resource_dir"`" |
| 37 | [[ -d "$base_resource_dir" ]] && rm -fr "$base_resource_dir" |
| 38 | cp -pr "$resource_dir" . |
| 39 | done |
| 40 | # now actually run |
| 41 | export PATH="$webkit_dir":"$safari_dir":"$PATH" |
| 42 | wine Safari.exe /customWebKit |
| 43 | }}} |
32 | | # to launch Safari with custom webkit |
33 | | if [ "$launch_program" == "safari_custom_webkit" ] |
34 | | then |
35 | | cd "$webkit_dir" |
36 | | cp -upv "$safari_dir/Safari.exe" . |
37 | | cp -upv "$safari_dir"/*.dll . |
38 | | for resource_dir in "$safari_dir"/*.resources |
39 | | do |
40 | | base_resource_dir="`basename "$resource_dir"`" |
41 | | [[ -d "$base_resource_dir" ]] && rm -fr "$base_resource_dir" |
42 | | cp -pr "$resource_dir" . |
43 | | done |
44 | | export PATH="$webkit_dir":"$safari_dir":"$PATH" |
45 | | wine Safari.exe /customWebKit |
46 | | fi |
47 | | |
48 | | # to launch Drosera |
49 | | if [ "$launch_program" == "drosera" ] |
50 | | then |
51 | | cd "$webkit_dir" |
52 | | export PATH="$webkit_dir":"$safari_dir":"$PATH" |
53 | | wine Drosera.exe |
54 | | fi |
55 | | |
| 45 | === Launching Drosera === |
| 46 | Note that Drosera does not yet work - this is how to try though (after setting up the above environment)... |
| 47 | {{{ |
| 48 | cd "$webkit_dir" |
| 49 | export PATH="$webkit_dir":"$safari_dir":"$PATH" |
| 50 | wine Drosera.exe |