File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,13 @@ async function downloadSongUnsafe(
199199 presetSetting = presets [ preset ] ;
200200 }
201201
202- const filename = filenamify ( `${ name } .${ presetSetting ?. extension ?? 'mp3' } ` , {
202+ let filename = filenamify ( `${ name } .${ presetSetting ?. extension ?? 'mp3' } ` , {
203203 replacement : '_' ,
204204 maxLength : 255 ,
205205 } ) ;
206+ if ( ! is . macOS ( ) ) {
207+ filename = filename . normalize ( 'NFC' ) ;
208+ }
206209 const filePath = join ( dir , filename ) ;
207210
208211 if ( config . get ( 'skipExisting' ) && existsSync ( filePath ) ) {
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ Some predefined themes are available in https://github.com/kerichdev/themes-for-
178178``` bash
179179git clone https://github.com/th-ch/youtube-music
180180cd youtube-music
181- npm
181+ npm ci
182182npm run start
183183```
184184
You can’t perform that action at this time.
0 commit comments