controller: always install protocol handler, not just on the first run
This commit is contained in:
parent
911b0384f1
commit
478c6a1c2c
|
@ -90,7 +90,7 @@ namespace SparkleShare {
|
|||
|
||||
// Add a little delay, making it seems we're
|
||||
// actually doing hard work
|
||||
Thread.Sleep (2 * 1000);
|
||||
Thread.Sleep (1000);
|
||||
|
||||
if (running_version >= new_version) {
|
||||
if (VersionUpToDateEvent != null)
|
||||
|
|
|
@ -138,18 +138,16 @@ namespace SparkleShare {
|
|||
{
|
||||
InstallLauncher ();
|
||||
EnableSystemAutostart ();
|
||||
InstallProtocolHandler ();
|
||||
|
||||
// Create the SparkleShare folder and add it to the bookmarks
|
||||
if (CreateSparkleShareFolder ())
|
||||
AddToBookmarks ();
|
||||
|
||||
if (FirstRun) {
|
||||
if (FirstRun)
|
||||
SparkleConfig.DefaultConfig.SetConfigOption ("notifications", bool.TrueString);
|
||||
InstallProtocolHandler ();
|
||||
|
||||
} else {
|
||||
else
|
||||
ImportPrivateKey ();
|
||||
}
|
||||
|
||||
// Watch the SparkleShare folder
|
||||
FileSystemWatcher watcher = new FileSystemWatcher (SparkleConfig.DefaultConfig.FoldersPath) {
|
||||
|
|
Loading…
Reference in a new issue