OLD | NEW |
---|---|
1 { | 1 { |
2 "states": [ | 2 "states": [ |
3 ["clean", ["chrome_not_installed.prop", "chrome_not_inuse.prop"]], | 3 ["clean", ["chrome_user_not_installed.prop", |
4 ["chrome_installed_not_inuse", ["chrome_installed.prop", | 4 "chrome_system_not_installed.prop", |
5 "chrome_not_inuse.prop"]], | 5 "chrome_user_not_inuse.prop", |
6 ["chrome_installed_inuse", ["chrome_installed.prop", "chrome_inuse.prop"]] | 6 "chrome_system_not_inuse.prop"]], |
7 ["chrome_user_installed_not_inuse", ["chrome_user_installed.prop", | |
8 "chrome_system_not_installed.prop", | |
9 "chrome_user_not_inuse.prop", | |
10 "chrome_system_not_inuse.prop"]], | |
11 ["chrome_system_installed_not_inuse", ["chrome_user_not_installed.prop", | |
12 "chrome_system_installed.prop", | |
13 "chrome_user_not_inuse.prop", | |
14 "chrome_system_not_inuse.prop"]], | |
15 ["chrome_user_installed_inuse", ["chrome_user_installed.prop", | |
16 "chrome_system_not_installed.prop", | |
17 "chrome_user_inuse.prop", | |
18 "chrome_system_not_inuse.prop"]], | |
19 ["chrome_system_installed_inuse", ["chrome_user_not_installed.prop", | |
20 "chrome_system_installed.prop", | |
21 "chrome_user_not_inuse.prop", | |
22 "chrome_system_inuse.prop"]] | |
7 ], | 23 ], |
8 "actions": [ | 24 "actions": [ |
9 ["install_chrome_at_user_level", | 25 ["install_chrome_at_user_level", |
10 "\"$MINI_INSTALLER\" --chrome --multi-install --do-not-launch-chrome"], | 26 "\"$MINI_INSTALLER\" --chrome --multi-install --do-not-launch-chrome"], |
27 ["install_chrome_at_system_level", | |
28 "\"$MINI_INSTALLER\" --chrome --multi-install --system-level --do-not-launc h-chrome"], | |
11 ["launch_chrome_at_user_level", | 29 ["launch_chrome_at_user_level", |
12 "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chr ome.exe\""], | 30 "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome .exe\""], |
31 ["launch_chrome_at_system_level", | |
32 "python launch_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome .exe\""], | |
13 ["quit_chrome_at_user_level", | 33 ["quit_chrome_at_user_level", |
14 "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrom e.exe\""], | 34 "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome.e xe\""], |
15 ["uninstall_chrome", | 35 ["quit_chrome_at_system_level", |
16 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\""] | 36 "python quit_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome.e xe\""], |
37 ["uninstall_chrome_at_user_level", | |
38 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\""], | |
39 ["uninstall_chrome_at_system_level", | |
40 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\" --syst em-level"] | |
17 ], | 41 ], |
18 "tests": [ | 42 "tests": [ |
19 ["clean", | 43 [ |
20 "install_chrome_at_user_level", "chrome_installed_not_inuse", | 44 "clean", |
21 "launch_chrome_at_user_level", "chrome_installed_inuse", | 45 "install_chrome_at_user_level", "chrome_user_installed_not_inuse", |
robertshield
2013/09/05 23:20:11
nit: mild preference to name these actions as "ins
| |
22 "quit_chrome_at_user_level", "chrome_installed_not_inuse", | 46 "launch_chrome_at_user_level", "chrome_user_installed_inuse", |
23 "uninstall_chrome", "clean"] | 47 "quit_chrome_at_user_level", "chrome_user_installed_not_inuse", |
48 "uninstall_chrome_at_user_level", "clean" | |
49 ], | |
50 [ | |
51 "clean", | |
52 "install_chrome_at_system_level", "chrome_system_installed_not_inuse", | |
53 "launch_chrome_at_system_level", "chrome_system_installed_inuse", | |
54 "quit_chrome_at_system_level", "chrome_system_installed_not_inuse", | |
55 "uninstall_chrome_at_system_level", "clean" | |
56 ] | |
24 ] | 57 ] |
25 } | 58 } |
OLD | NEW |