1
0
Fork 0
mirror of synced 2024-07-07 23:46:11 +12:00

fix: console sdk package name

This commit is contained in:
Torsten Dittmann 2023-02-28 14:05:40 +05:30
parent f1fd44cee3
commit d5449cb498

View file

@ -81,8 +81,13 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
switch ($language['key']) { switch ($language['key']) {
case 'web': case 'web':
$config = new Web(); $config = new Web();
$config->setNPMPackage('appwrite'); if ($platform['key'] === APP_PLATFORM_CONSOLE) {
$config->setBowerPackage('appwrite'); $config->setNPMPackage('@appwrite.io/console');
$config->setBowerPackage('@appwrite.io/console');
} else {
$config->setNPMPackage('appwrite');
$config->setBowerPackage('appwrite');
}
break; break;
case 'cli': case 'cli':
$config = new CLI(); $config = new CLI();