fix set_extra_icons for apps with spaces
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
3
abra.sh
3
abra.sh
@ -256,7 +256,8 @@ set_extra_icons() {
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
for key, value in json.loads(os.environ['EXTRA_ICONS']).items():
|
for key, value in json.loads(os.environ['EXTRA_ICONS']).items():
|
||||||
print(f'{key}:{value}')
|
slug = key.replace(' ','-')
|
||||||
|
print(f'{slug}:{value}')
|
||||||
")
|
")
|
||||||
set_icons "$icon_key_values"
|
set_icons "$icon_key_values"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user