mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
unify Host and Embedded versions
This commit is contained in:
@@ -288,7 +288,11 @@ void reader::extract_all_files(std::string dest_directory) {
|
||||
auto fileName = get_next_file_name();
|
||||
|
||||
// 0 is the normal file type, skip apple's ._ files
|
||||
#if __cplusplus >= 202002L
|
||||
if (fileType == '0' && !fileName.starts_with("._")) {
|
||||
#else
|
||||
if (fileType == '0' && fileName.find("._") != 0) {
|
||||
#endif
|
||||
std::string path = dest_directory + "/" + fileName;
|
||||
|
||||
size_t pos = 0;
|
||||
|
||||
Reference in New Issue
Block a user