Skip to content

Commit

Permalink
Fixes for new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
larowlan committed Dec 21, 2022
1 parent 58194c3 commit 50ed161
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion bin/tl.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
$container->setParameter('directory', $home);
$container->set('container', $container);

$application = new Application('Time logger', '@package_version@', $container);
$application = new Application('Time logger ⏰🪵✨', '@package_version@', $container);
$application->setDefaultCommand('list');
$application->run();
4 changes: 1 addition & 3 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"chmod": "0755",
"directories": [
"src"
],
Expand All @@ -19,6 +18,5 @@
],
"git-version": "package_version",
"main": "bin/tl.php",
"output": "tl.phar",
"stub": true
"output": "tl.phar"
}
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function __construct($name, $version, ContainerBuilder $container) {
* {@inheritdoc}
*/
public function doRun(InputInterface $input, OutputInterface $output) {
$name = $this->getCommandName($input);
$name = $this->getCommandName($input) ?: 'list';
$installing = FALSE;
if ($name !== 'install' && $name !== 'configure') {
if ($result = $this->setupCheck($output)) {
Expand Down
Binary file modified tl.phar
Binary file not shown.

0 comments on commit 50ed161

Please sign in to comment.