blob: 12e3eea7f743a15f871b00cac6a44e2b0f66da53 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/paths.h"
#include <Foundation/Foundation.h>
namespace fml {
namespace paths {
std::pair<bool, std::string> GetExecutableDirectoryPath() {
return {true, GetDirectoryName([NSBundle mainBundle].executablePath.UTF8String)};
}
} // namespace paths
} // namespace fml