WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" UninstallString $INSTDIR\uninstall.exe\r
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoModify 1\r
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoRepair 1\r
- WriteRegStr HKCR "bitcoin" "URL Protocol" ""\r
- WriteRegStr HKCR "bitcoin" "" "URL:Bitcoin"\r
- WriteRegStr HKCR "bitcoin\DefaultIcon" "" $INSTDIR\bitcoin-qt.exe\r
- WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "$$1"'\r
+\r
+ # bitcoin: URI handling disabled for 0.6.0\r
+ # WriteRegStr HKCR "bitcoin" "URL Protocol" ""\r
+ # WriteRegStr HKCR "bitcoin" "" "URL:Bitcoin"\r
+ # WriteRegStr HKCR "bitcoin\DefaultIcon" "" $INSTDIR\bitcoin-qt.exe\r
+ # WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "$$1"'\r
SectionEnd\r
\r
# Macro for selecting uninstaller sections\r
#ifndef BITCOIN_QT_TEST
int main(int argc, char *argv[])
{
+#if !defined(MAC_OSX) && !defined(WIN32)
+// TODO: implement qtipcserver.cpp for Mac and Windows
+
// Do this early as we don't want to bother initializing if we are just calling IPC
for (int i = 1; i < argc; i++)
{
}
}
}
+#endif
// Internal string conversion is all UTF-8
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
// Place this here as guiref has to be defined if we dont want to lose URLs
ipcInit();
+
+#if !defined(MAC_OSX) && !defined(WIN32)
+// TODO: implement qtipcserver.cpp for Mac and Windows
+
// Check for URL in argv
for (int i = 1; i < argc; i++)
{
}
}
}
-
+#endif
app.exec();
guiref = 0;
// TODO: implement bitcoin: URI handling the Mac Way
return;
#endif
+#ifdef WIN32
+ // TODO: THOROUGHLY test boost::interprocess fix,
+ // and make sure there are no Windows argument-handling exploitable
+ // problems.
+ return;
+#endif
message_queue* mq;
char strBuf[257];