commit 7edfb975a4a0c449e855c6666946a9fead06c574
parent 580ddf6d6d7bfc64764758245a2f14f3d34a8151
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 26 Jan 2016 17:49:02 -0500
show the configuration dialog on first run
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -35,6 +35,8 @@ ReaPack::ReaPack(REAPER_PLUGIN_HINSTANCE instance)
m_mainWindow = GetMainHwnd();
m_useRootPath = new UseRootPath(GetResourcePath());
+ Download::Init();
+
RecursiveCreateDirectory(Path::cacheDir().join().c_str(), 0);
m_config = new Config;
@@ -43,7 +45,8 @@ ReaPack::ReaPack(REAPER_PLUGIN_HINSTANCE instance)
m_progress = Dialog::Create<Progress>(m_instance, m_mainWindow);
m_manager = Dialog::Create<Manager>(m_instance, m_mainWindow, this);
- Download::Init();
+ if(m_config->isFirstRun())
+ manageRemotes();
}
ReaPack::~ReaPack()