You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/05/31 22:23:39 UTC
[6/7] git commit: prints success, removed file
prints success, removed file
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/0721878e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/0721878e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/0721878e
Branch: refs/heads/master
Commit: 0721878e23905bd01c0a5bb00f6a3481eb007e50
Parents: 65ffdf6
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri May 31 12:42:44 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri May 31 12:42:44 2013 -0700
----------------------------------------------------------------------
.../CordovaWindows8Deploy.cpp | 12 ++++++++----
.../CordovaWindows8Deploy.vcxproj | 3 ---
.../CordovaWindows8Deploy.vcxproj.filters | 3 ---
3 files changed, 8 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/0721878e/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
index 1aad14e..5b55d34 100644
--- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
+++ b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp
@@ -1,5 +1,3 @@
-// ConsoleApplication2.cpp : Defines the entry point for the console application.
-//
#include <stdio.h>
#include <tchar.h>
@@ -9,6 +7,7 @@
#include <objbase.h>
#include <atlbase.h>
#include <string>
+#include <AppxPackaging.h>
int _tmain(int argc, _TCHAR* argv[])
{
@@ -19,6 +18,7 @@ int _tmain(int argc, _TCHAR* argv[])
{
if(argc == 2)
{
+ CComPtr<IAppxManifestReader> spManifestReader;
CComPtr<IApplicationActivationManager> spAppActivationManager;
// get IApplicationActivationManager
@@ -37,8 +37,7 @@ int _tmain(int argc, _TCHAR* argv[])
// Launch it!
if (SUCCEEDED(hr))
{
- LPCWSTR appId = argv[1];
- hr = spAppActivationManager->ActivateApplication(appId,
+ hr = spAppActivationManager->ActivateApplication((LPCWSTR)argv[1],
NULL,
AO_NONE,
&dwProcessId);
@@ -47,6 +46,11 @@ int _tmain(int argc, _TCHAR* argv[])
CoUninitialize();
}
+ if(SUCCEEDED(hr))
+ {
+ printf("%s","Successfully Deployed.");
+ }
+
return hr;
}
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/0721878e/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
index b347864..2b8c4a8 100644
--- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
+++ b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj
@@ -77,9 +77,6 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
- <Text Include="ReadMe.txt" />
- </ItemGroup>
- <ItemGroup>
<ClCompile Include="CordovaWindows8Deploy.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/0721878e/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters
----------------------------------------------------------------------
diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters
index a31b498..74ff009 100644
--- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters
+++ b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters
@@ -11,9 +11,6 @@
</Filter>
</ItemGroup>
<ItemGroup>
- <Text Include="ReadMe.txt" />
- </ItemGroup>
- <ItemGroup>
<ClCompile Include="CordovaWindows8Deploy.cpp">
<Filter>Source Files</Filter>
</ClCompile>