diff --git a/src/build.py b/src/build.py index 0915930a02..c330084a9b 100755 --- a/src/build.py +++ b/src/build.py @@ -237,10 +237,10 @@ def make_package(args): # Figure out if application has service part service = False - directory = args.private or args.dir + directory = args.dir if directory: service_main = join(realpath(directory), 'service', 'main.py') - if os.path.exists(service_main): + if os.path.exists(service_main) or os.path.exists(service_main + 'o'): service = True # Check if OUYA support is enabled