migrat assets.txt a assets.yaml
This commit is contained in:
@@ -35,10 +35,10 @@ auto handleDefaultPack() -> int {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Add config/assets.txt to pack (required for release builds)
|
||||
// Add config/assets.yaml to pack (required for release builds)
|
||||
std::cout << "\nAdding config files...\n";
|
||||
if (!pack.addFile("config/assets.txt", "config/assets.txt")) {
|
||||
std::cerr << "Warning: Failed to add config/assets.txt (optional)\n";
|
||||
if (!pack.addFile("config/assets.yaml", "config/assets.yaml")) {
|
||||
std::cerr << "Warning: Failed to add config/assets.yaml (optional)\n";
|
||||
}
|
||||
|
||||
if (!pack.savePack(output_file)) {
|
||||
@@ -86,10 +86,10 @@ auto handlePackDirectory(const std::string& input_dir, const std::string& output
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Add config/assets.txt to pack (required for release builds)
|
||||
// Add config/assets.yaml to pack (required for release builds)
|
||||
std::cout << "\nAdding config files...\n";
|
||||
if (!pack.addFile("config/assets.txt", "config/assets.txt")) {
|
||||
std::cerr << "Warning: Failed to add config/assets.txt (optional)\n";
|
||||
if (!pack.addFile("config/assets.yaml", "config/assets.yaml")) {
|
||||
std::cerr << "Warning: Failed to add config/assets.yaml (optional)\n";
|
||||
}
|
||||
|
||||
if (!pack.savePack(output_file)) {
|
||||
|
||||
Reference in New Issue
Block a user