From c0cbddc93d1cbbb3931e5c5ffe00e8e6e1b3da1c Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 14 Jul 2025 07:41:05 -0700 Subject: [PATCH] Fixed bug in `gam create chromeprofilecommand` --- src/GamUpdate.txt | 4 ++++ src/gam/__init__.py | 6 ++++-- src/setup.cfg | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index 650b80dd..3318d0f7 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,7 @@ +7.13.02 + +Fixed bug in `gam create chromeprofilecommand` where `select|filter` were not recognized. + 7.13.01 Enhanced `gam create|print|show chromeprofilecommand` to allow specification diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 9adf8eed..7c7c159d 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki """ __author__ = 'GAM Team ' -__version__ = '7.13.01' +__version__ = '7.13.02' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' #pylint: disable=wrong-import-position @@ -25749,7 +25749,9 @@ def doCreateChromeProfileCommand(): FJQC = FormatJSONQuoteChar() while Cmd.ArgumentsRemaining(): myarg = getArgument() - if myarg == 'clearcache': + if _getChromeProfileNameParameters(myarg, parameters): + pass + elif myarg == 'clearcache': body['payload']['clearCache'] = getBoolean() elif myarg == 'clearcookies': body['payload']['clearCookies'] = getBoolean() diff --git a/src/setup.cfg b/src/setup.cfg index b54a9a62..351588bd 100644 --- a/src/setup.cfg +++ b/src/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = GAM for Google Workspace #version = attr: gam.var.GAM_VERSION -version = 7.13.01 +version = 7.13.02 description = Command line management for Google Workspaces long_description = file: readme.md long_description_content_type = text/markdown