@nativescript/windows 0.1.0-alpha.10 → 0.1.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,17 +2,14 @@
2
2
 
3
3
  <Package
4
4
  xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
5
- xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
6
5
  xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
7
- IgnorableNamespaces="uap mp">
6
+ IgnorableNamespaces="uap">
8
7
 
9
8
  <Identity
10
9
  Name="__APP_IDENTIFIER__"
11
10
  Publisher="CN=__PROJECT_NAME__"
12
11
  Version="1.0.0.0" />
13
12
 
14
- <mp:PhoneIdentity PhoneProductId="__APP_IDENTIFIER__" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
15
-
16
13
  <Properties>
17
14
  <DisplayName>__PROJECT_NAME__</DisplayName>
18
15
  <PublisherDisplayName>__PROJECT_NAME__</PublisherDisplayName>
@@ -24,7 +21,7 @@
24
21
  </Dependencies>
25
22
 
26
23
  <Resources>
27
- <Resource Language="x-generate"/>
24
+ <Resource Language="en-US"/>
28
25
  </Resources>
29
26
 
30
27
  <Applications>
@@ -39,10 +39,17 @@ namespace __PROJECT_NAME__
39
39
 
40
40
  public string DevtoolsFrontendUrl { get; private set; }
41
41
 
42
+ private bool _devtoolsPumpAvailable = true;
43
+
42
44
  public void PumpDevtools()
43
45
  {
44
- if (!_initialized) return;
46
+ if (!_initialized || !_devtoolsPumpAvailable) return;
45
47
  try { runtime_devtools_pump(_runtime); }
48
+ catch (System.EntryPointNotFoundException)
49
+ {
50
+ // DLL built without devtools feature — stop trying.
51
+ _devtoolsPumpAvailable = false;
52
+ }
46
53
  catch (Exception ex)
47
54
  {
48
55
  System.Diagnostics.Debug.WriteLine($"[NativeScript DevTools] Pump failed: {ex.Message}");
@@ -41,6 +41,11 @@
41
41
  <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
42
42
  </Content>
43
43
 
44
+ <!-- UWP logo/splash assets required for Add-AppxPackage -Register -->
45
+ <Content Include="Assets\**\*" Condition="Exists('Assets')">
46
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
47
+ </Content>
48
+
44
49
  <!-- Debug: devtools-enabled runtime DLL (platform fallback via NSLibPlatform) -->
45
50
  <Content Include="$(NSWindowsRoot)\libs\devtools\$(NSLibPlatform)\nativescript.dll"
46
51
  Condition="'$(Configuration)' == 'Debug' and Exists('$(NSWindowsRoot)\libs\devtools\$(NSLibPlatform)\nativescript.dll')">
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript/windows",
3
- "version": "0.1.0-alpha.10",
3
+ "version": "0.1.0-alpha.11",
4
4
  "description": "NativeScript for using Windows v8",
5
5
  "repository": {
6
6
  "type": "git",