mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-06-16 20:30:09 +10:00
Update Shell
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
<body>
|
||||
<div id="page-container" class="pagecontainer full">
|
||||
<div class="page preinstall">
|
||||
<div class="page splash">
|
||||
<!-- Splash Screen -->
|
||||
<img class="splash" src="images/splash.default.png" alt="Splash Screen" width="620" height="300">
|
||||
<div class="content splash">
|
||||
@@ -67,6 +67,21 @@
|
||||
<img src="images/splash.default.png" alt="App Store Logo">
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
(function() {
|
||||
"use strict";
|
||||
var storelogo = document.querySelector(".page .content .storelogo");
|
||||
var slimg = storelogo.querySelector("img");
|
||||
var monitor = Windows.UI.Event.Monitor;
|
||||
monitor.observe(slimg, monitor.EventType.attribute, function() {
|
||||
if (slimg.hasAttribute("src") && slimg.src && slimg.src.length > 1 && slimg.naturalHeight > 0) {
|
||||
storelogo.style.display = '';
|
||||
} else {
|
||||
storelogo.style.display = 'none';
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
<h1 class="win-type-x-large pkgtitle title single" data-res-byname="IDS_PREINSTALL_TITLE"></h1>
|
||||
<script>
|
||||
(function() {
|
||||
@@ -274,7 +289,7 @@
|
||||
}
|
||||
setFlyoutDisplayInfo(pi);
|
||||
var hres = Bridge.Package.installResult(this.value);
|
||||
if (hres) {
|
||||
if (hres && hres.failed) {
|
||||
reason.textContent = hres.message;
|
||||
} else {
|
||||
reason.textContent = Bridge.Resources.byname("IDS_FAILED_MSUCCESS");
|
||||
|
||||
Reference in New Issue
Block a user