fix: png_shape ja carrega de resources.pack

Amb tots els fixos anteriors, el app de macos ja funciona correctament
This commit is contained in:
2026-03-08 22:36:10 +01:00
parent b9264c96a1
commit a65544e8b3
4 changed files with 24 additions and 15 deletions

View File

@@ -269,7 +269,7 @@ void ShapeManager::activateShapeInternal(ShapeType type) {
active_shape_ = std::make_unique<AtomShape>();
break;
case ShapeType::PNG_SHAPE:
active_shape_ = std::make_unique<PNGShape>((getResourcesDirectory() + "/data/shapes/jailgames.png").c_str());
active_shape_ = std::make_unique<PNGShape>("shapes/jailgames.png");
break;
default:
active_shape_ = std::make_unique<SphereShape>(); // Fallback