Skip to content

Commit

Permalink
## 14.22.1 - 2024-04-20
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Apr 19, 2024
1 parent 7e6b568 commit 749d260
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 14.22.1 - 2024-04-20

### Fixed
- Custom path to composer vendor directory

## 14.22.0 - 2024-04-14

### Added
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
],
"require": {
"ext-json": "*",
"composer-runtime-api": "^2.2",
"orchid/blade-icons": "^4.0",
"tabuna/breadcrumbs": "^4.0",
"laravel/framework": "^10.0||^11.0",
Expand Down
5 changes: 4 additions & 1 deletion src/Platform/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ class Dashboard

/**
* ORCHID Version.
*
* @deprecated Use `Dashboard::version()` instead.
*
*/
public const VERSION = '14.22.0';
public const VERSION = '14.22.1';

/**
* @deprecated
Expand Down
6 changes: 5 additions & 1 deletion src/Support/BootstrapIconsPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

namespace Orchid\Support;

use Composer\InstalledVersions;

class BootstrapIconsPath
{
/**
* Get the folder path of the Bootstrap Icons.
*/
public static function getFolder(): string
{
return base_path('/vendor/twbs/bootstrap-icons/icons');
$packagePath = InstalledVersions::getInstallPath('twbs/bootstrap-icons');

return realpath($packagePath . '/icons');
}
}

0 comments on commit 749d260

Please sign in to comment.