File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 22
33<Package xmlns =" http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns : mp =" http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns : uap =" http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns : rescap =" http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns : iot =" http://schemas.microsoft.com/appx/manifest/iot/windows10" IgnorableNamespaces =" uap rescap iot build" xmlns : build =" http://schemas.microsoft.com/developer/appx/2015/build" >
44
5- <Identity Name =" Charles-PhilippeLepage.FullStackedEditor" Publisher =" CN=3F94CE5F-7E00-4DE1-941D-8256CB924D0F" Version =" 0.11.1148 .0" />
5+ <Identity Name =" Charles-PhilippeLepage.FullStackedEditor" Publisher =" CN=3F94CE5F-7E00-4DE1-941D-8256CB924D0F" Version =" 0.11.1149 .0" />
66
77 <Properties >
88 <DisplayName >FullStacked</DisplayName >
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ await new Promise(res => {
6161 }
6262
6363 selectionDone = true ;
64- console . log ( stdout . match ( / ( > | . ) ? F u l l S t a c k e d .* / g) . slice ( - 2 ) )
6564 ptyProcess . write ( "\r" ) ;
6665 }
6766
@@ -74,6 +73,14 @@ await new Promise(res => {
7473 ptyProcess . write ( 'msstore init\r' ) ;
7574} ) ;
7675
76+ packageContent = fs . readFileSync ( packageFile , { encoding : "utf-8" } ) ;
77+ if ( isRelease && ! packageContent . match ( / < D i s p l a y N a m e > F u l l S t a c k e d < \/ D i s p l a y N a m e > / ) ) {
78+ throw "Failed to init to FullStacked App"
79+ }
80+ if ( ! isRelease && ! packageContent . match ( / < D i s p l a y N a m e > F u l l S t a c k e d \( B e t a \) < \/ D i s p l a y N a m e > / ) ) {
81+ throw "Failed to init to FullStacked (Beta) App"
82+ }
83+
7784child_process . execSync ( "msstore package" , {
7885 cwd : currentDirectory ,
7986 stdio : "inherit"
You can’t perform that action at this time.
0 commit comments