diff --git a/src/windows/fileOpener2Proxy.js b/src/windows/fileOpener2Proxy.js index 69d34ee..ce2dee6 100644 --- a/src/windows/fileOpener2Proxy.js +++ b/src/windows/fileOpener2Proxy.js @@ -75,7 +75,7 @@ getFile(path).then(function (file) { var options = new Windows.System.LauncherOptions(); - Windows.System.Launcher.launchFileAsync(file, options).done(function (success) { + Windows.System.Launcher.launchFileAsync(file, options).then(function (success) { successCallback(); }, function (error) { errorCallback(error);