Skip to content

Commit

Permalink
aaaa ok?
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Jul 16, 2024
1 parent e410b99 commit f33ad45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1327,10 +1327,10 @@ namespace mle_ui {
auto audio_meta_file = audios_meta_path / fmt::format("{}.json", m_audio.m_audioID);
std::ofstream(audio_meta_file) << m_audio.resetJson().dump(matjson::TAB_INDENTATION);
//save music file
std::filesystem::copy(
fs::copy(
MusicDownloadManager::sharedState()->pathForSong(
findDataNode(refSongInfoLayer, "m_songID")->getTag()
),
).data(),
songs_path / m_audio.m_fileName,
fs::copy_options::overwrite_existing,
fs::last_err_code
Expand Down

0 comments on commit f33ad45

Please sign in to comment.