Permalink
Browse files

Kill app_version.h

  • Loading branch information...
1 parent 28c850e commit 8232e4822bcdba492d38fefbac700ae3605b5b90 @andreyvit andreyvit committed Nov 3, 2013
Showing with 1 addition and 9 deletions.
  1. +1 −1 mac/Classes/Application/Glue.m
  2. +0 −7 mac/Classes/Application/app_version.h
  3. +0 −1 nodeapp/core/src/nodeapp.h
@@ -22,7 +22,7 @@ void nodeapp_rpc_send_init(void *dummy) {
[[Glue glue] postMessage:@{
@"service": @"server",
@"command": @"init",
- @"appVersion": @"" NODEAPP_VERSION,
+ @"appVersion": [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"],
}];
}
@@ -1,7 +0,0 @@
-#ifndef LiveReload_version_h
-#define LiveReload_version_h
-
-#define LIVERELOAD_VERSION "2.4.0"
-#define NODEAPP_VERSION LIVERELOAD_VERSION
-
-#endif
@@ -2,7 +2,6 @@
#define nodeapp_h
#include "app_config.h"
-#include "app_version.h"
#include "jansson.h"

0 comments on commit 8232e48

Please sign in to comment.