Home | History | Annotate | Download | only in config
      1 {
      2   "states": [
      3     ["clean", ["chrome_user_not_installed.prop",
      4                "chrome_system_not_installed.prop",
      5                "chrome_user_not_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"]]
     23   ],
     24   "actions": [
     25     ["install_chrome_user",
     26      "\"$MINI_INSTALLER\" --chrome --multi-install --do-not-launch-chrome"],
     27     ["install_chrome_system",
     28      "\"$MINI_INSTALLER\" --chrome --multi-install --system-level --do-not-launch-chrome"],
     29     ["launch_chrome_user",
     30      "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome.exe\""],
     31     ["launch_chrome_system",
     32      "python launch_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome.exe\""],
     33     ["quit_chrome_user",
     34      "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome.exe\""],
     35     ["quit_chrome_system",
     36      "python quit_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome.exe\""],
     37     ["uninstall_chrome_user",
     38      "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\""],
     39     ["uninstall_chrome_system",
     40      "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\" --system-level"]
     41   ],
     42   "tests": [
     43     [
     44       "clean",
     45       "install_chrome_user", "chrome_user_installed_not_inuse",
     46       "launch_chrome_user", "chrome_user_installed_inuse",
     47       "quit_chrome_user", "chrome_user_installed_not_inuse",
     48       "uninstall_chrome_user", "clean"
     49     ],
     50     [
     51       "clean",
     52       "install_chrome_system", "chrome_system_installed_not_inuse",
     53       "launch_chrome_system", "chrome_system_installed_inuse",
     54       "quit_chrome_system", "chrome_system_installed_not_inuse",
     55       "uninstall_chrome_system", "clean"
     56     ]
     57   ]
     58 }
     59