// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2011 The Bitcoin developers
+// Copyright (c) 2011 The PPCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
boost::filesystem::path GetAutostartFilePath()
{
- return GetAutostartDir() / boost::filesystem::path("bitcoin.desktop");
+ return GetAutostartDir() / boost::filesystem::path("ppcoin.desktop");
}
bool GetStartOnSystemStartup()
boost::filesystem::ofstream optionFile(GetAutostartFilePath(), ios_base::out|ios_base::trunc);
if (!optionFile.good())
{
- wxMessageBox(_("Cannot write autostart/bitcoin.desktop file"), "Bitcoin");
+ wxMessageBox(_("Cannot write autostart/ppcoin.desktop file"), "Bitcoin");
return;
}
- // Write a bitcoin.desktop file to the autostart directory:
+ // Write a ppcoin.desktop file to the autostart directory:
optionFile << "[Desktop Entry]\n";
optionFile << "Type=Application\n";
optionFile << "Name=Bitcoin\n";
g_isPainting = 10000;
#endif
#if defined(__WXMSW__ ) || defined(__WXMAC_OSX__)
- SetAppName("Bitcoin");
+ SetAppName("PPCoin");
#else
- SetAppName("bitcoin");
+ SetAppName("ppcoin");
#endif
#ifdef __WXMSW__
#if wxUSE_UNICODE