From 2b46d89fa2d8a387ac384f3d108a9fa3cb16f3f1 Mon Sep 17 00:00:00 2001 From: EverForge <113529280+BadJacky@users.noreply.github.com> Date: Mon, 17 Jun 2024 23:30:53 +0800 Subject: [PATCH] Fix path differences given func `checkPlugin` --- src/AppStore/src/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppStore/src/Plugin.php b/src/AppStore/src/Plugin.php index edb11cf1..f9f55e4b 100644 --- a/src/AppStore/src/Plugin.php +++ b/src/AppStore/src/Plugin.php @@ -65,7 +65,7 @@ public static function init(): void */ public static function checkPlugin(\SplFileInfo $mineJson): bool { - $info = self::read($mineJson->getRealPath()); + $info = self::read($mineJson->getRelativePath()); $rules = [ 'name' => 'required|string', 'description' => 'required|string',