Skip to content

Commit 5146df5

Browse files
committed
fix(preprocess): ignore mini-player's css on 1.2.64 and higher
1 parent 703be00 commit 5146df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preprocess/preprocess.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func StartCSS(extractedAppsPath string) {
283283
appPath := filepath.Join(extractedAppsPath, "xpui")
284284
filepath.Walk(appPath, func(path string, info os.FileInfo, err error) error {
285285
// temp so text won't be black ._.
286-
if info.Name() == "pip-mini-player.css" {
286+
if strings.HasPrefix(info.Name(), "pip-mini-player") && strings.HasSuffix(info.Name(), ".css") {
287287
return nil
288288
}
289289

0 commit comments

Comments
 (0)