revert mas purchase to mas install ref:
@@ -28,8 +28,8 @@ __author__ = "rcmdnk"
__copyright__ = "Copyright (c) 2013 rcmdnk"
__credits__ = ["rcmdnk"]
__license__ = "MIT"
-__version__ = "v8.5.6"
-__date__ = "2/Nov/2021"
+__version__ = "v8.5.7"
+__date__ = "10/Nov/2021"
__maintainer__ = "rcmdnk"
__email__ = "rcmdnk@gmail.com"
__status__ = "Prototype"
@@ -687,7 +687,7 @@ fi
cmd_tap = "brew tap "
cmd_cask = "brew install "
cmd_cask_nocask = "#brew install "
- cmd_appstore = "mas purchase "
+ cmd_appstore = "mas install "
cmd_main = "#main "
cmd_file = "#file "
@@ -2063,7 +2063,7 @@ class BrewFile:
self.info("Installing " + package)
if identifier != "":
if self.check_mas_cmd(True) == 1:
- self.proc(self.opt["mas_cmd"] + " purchase "
+ self.proc(self.opt["mas_cmd"] + " install "
+ identifier)
else:
self.info("Please install %s from AppStore." %
