Skip to content

Commit

Permalink
Merge branch 'develop' into use-device-data-config-json
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbreeze413 committed Sep 6, 2024
2 parents be8ecb1 + 06d53c2 commit fd895fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Compiler/QLDeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2023,6 +2023,10 @@ int QLDeviceManager::encryptDevice(std::string family, std::string foundry, std:
}

// copy the source file to the target file path:
// MinGW g++ bug? overwrite_existing, still throws error if it exists? hence the check below.
if(FileUtils::FileExists(target_file_path)) {
std::filesystem::remove(target_file_path);
}
std::cout << "copying:" << relative_file_path << std::endl;
std::filesystem::copy_file(source_file_path,
target_file_path,
Expand Down

0 comments on commit fd895fa

Please sign in to comment.