f89d28a63e
We used to use Sparkle on OS X, and the design was reserved to be extended to all platforms, which are all wrong now.
30 lines
609 B
C++
30 lines
609 B
C++
// Copyright (c) 2013 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "atom/browser/auto_updater.h"
|
|
|
|
namespace auto_updater {
|
|
|
|
Delegate* AutoUpdater::delegate_ = nullptr;
|
|
|
|
Delegate* AutoUpdater::GetDelegate() {
|
|
return delegate_;
|
|
}
|
|
|
|
void AutoUpdater::SetDelegate(Delegate* delegate) {
|
|
delegate_ = delegate;
|
|
}
|
|
|
|
#if !defined(OS_MACOSX) || defined(MAS_BUILD)
|
|
void AutoUpdater::SetFeedURL(const std::string& url) {
|
|
}
|
|
|
|
void AutoUpdater::CheckForUpdates() {
|
|
}
|
|
|
|
void AutoUpdater::QuitAndInstall() {
|
|
}
|
|
#endif
|
|
|
|
} // namespace auto_updater
|