Skip to content

Commit ec20bb0

Browse files
Vitexusclaude
andcommitted
fix: InstalledVersions name always from composer.json, not APP_NAME
APP_NAME is for the application layer (Ease\Shared::appName()); the package registry identity must always be the composer.json name field written at build time, keeping compatibility with ad-hoc composer use. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 67a0595 commit ec20bb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debian/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
foreach (\Composer\InstalledVersions::getAllRawData() as $d) {
2626
$versions = array_merge($versions, $d['versions'] ?? []);
2727
}
28-
$name = defined('APP_NAME') ? APP_NAME : 'unknown';
28+
$name = 'unknown';
2929
$version = defined('APP_VERSION') ? APP_VERSION : '0.0.0';
3030
$versions[$name] = ['pretty_version' => $version, 'version' => $version,
3131
'reference' => null, 'type' => 'library', 'install_path' => __DIR__,

0 commit comments

Comments
 (0)