Commits

Shlomi Fish  committed c914797

Accepting the dir pathname from @ARGV.

  • Participants
  • Parent commits 26aec95

Comments (0)

Files changed (2)

File App-Qt-AdHocFileManager/lib/App/Qt/AdHocFileManager/Window.pm

 
     $files_tree->setHeaderLabels(["Name", "Size", "Date Modified",]);
 
-    my $dir_pathname = "/media/win_d/Music/mp3";
+    my $dir_pathname = shift(@ARGV);
 
     this->_populate_tree_with_files($files_tree, $dir_pathname);
 

File App-Qt-AdHocFileManager/scripts/ad-hoc-fm

 #!/bin/sh
-perl -Ilib -MApp::Qt::AdHocFileManager
+perl -Ilib -MApp::Qt::AdHocFileManager -e '' "/media/win_d/Music/mp3"