1 parent 7240a41 commit d3361b2Copy full SHA for d3361b2
1 file changed
IntuneUploader/IntuneAppIconGetter.py
@@ -29,6 +29,10 @@ class IntuneAppIconGetter(DmgMounter):
29
"required": True,
30
"description": "Name of the app to use in the output file name.",
31
},
32
+ "rename_icon": {
33
+ "required": False,
34
+ "description": "Renames the icon file using lowercase and underscores.",
35
+ },
36
}
37
output_variables = {
38
"icon_file_path": {
@@ -41,6 +45,8 @@ def main(self):
41
45
# Get input variables
42
46
app_file = self.env.get("app_file")
43
47
name = self.env.get("name")
48
+ if self.env.get("rename_icon"):
49
+ name = name.lower().replace(" ", "_")
44
50
recipe_cache_dir = self.env.get("RECIPE_CACHE_DIR")
51
self.env["icon_file_path"] = None
52
mount_point = None
0 commit comments