mirror of
https://github.com/monero-project/monero.git
synced 2026-01-19 08:01:00 -08:00
Wallet API: override update subdir when built from src
This commit is contained in:
@@ -434,12 +434,14 @@ std::string WalletManagerImpl::resolveOpenAlias(const std::string &address, bool
|
||||
return addresses.front();
|
||||
}
|
||||
|
||||
std::tuple<bool, std::string, std::string, std::string, std::string> WalletManager::checkUpdates(const std::string &software, const std::string &subdir)
|
||||
std::tuple<bool, std::string, std::string, std::string, std::string> WalletManager::checkUpdates(const std::string &software, std::string subdir)
|
||||
{
|
||||
#ifdef BUILD_TAG
|
||||
static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG);
|
||||
#else
|
||||
static const char buildtag[] = "source";
|
||||
// Override the subdir string when built from source
|
||||
subdir = "source";
|
||||
#endif
|
||||
|
||||
std::string version, hash;
|
||||
|
||||
Reference in New Issue
Block a user