diff --git a/src/SkeletonServiceProvider.php b/src/SkeletonServiceProvider.php index 6dcb0a4..4124c73 100644 --- a/src/SkeletonServiceProvider.php +++ b/src/SkeletonServiceProvider.php @@ -65,6 +65,11 @@ final class SkeletonServiceProvider extends ServiceProvider private function packageRoot(): string { - return realpath(__DIR__ . '/..'); + return dirname(__DIR__ . DIRECTORY_SEPARATOR . '..') . DIRECTORY_SEPARATOR; + } + + private function resourcesPath(): string + { + return $this->packageRoot() . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR; } }