diff --git a/src/preprocess/preprocess.go b/src/preprocess/preprocess.go index 35448140f9..fe43e3dcdf 100644 --- a/src/preprocess/preprocess.go +++ b/src/preprocess/preprocess.go @@ -488,7 +488,7 @@ func exposeAPIs_main(input string) string { // Spicetify._platform utils.Replace( &input, - `(setTitlebarHeight[\w(){}>:.,&$!=;"" ]+)(\{version:[a-zA-Z_\$][\w\$]*,)`, + `(setTitlebarHeight[\w(){}<>:.,&$!=;""?!#% ]+)(\{version:[a-zA-Z_\$][\w\$]*,)`, func(submatches ...string) string { return fmt.Sprintf("%sSpicetify._platform=%s", submatches[1], submatches[2]) })