Browse Source

Print version at boot

tags/v0.5.0
Andrew Belt 7 years ago
parent
commit
d24bed83e2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/main.cpp

+ 4
- 0
src/main.cpp View File

@@ -12,6 +12,10 @@ using namespace rack;
int main(int argc, char* argv[]) {
randomSeedTime();

if (!gApplicationVersion.empty()) {
printf("Rack v%s\n", gApplicationVersion.c_str());
}

{
char *cwd = getcwd(NULL, 0);
printf("Current working directory: %s\n", cwd);


Loading…
Cancel
Save