mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-08-10 08:31:07 +10:00
Update Settings Shell.
This commit is contained in:
@@ -26,13 +26,26 @@
|
||||
<script type="text/javascript" src="../../js/init.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../page.css">
|
||||
<link rel="stylesheet" type="text/css" href="../subpage.css">
|
||||
<script type="text/javascript" src="preinit.js"></script>
|
||||
<script type="text/javascript" src="initsame.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="section padding">
|
||||
<h2>App Installer Settings</h2>
|
||||
<h2 id="guide-title"></h2>
|
||||
<p id="guide-desc" style="white-space: pre-wrap;"></p>
|
||||
</div>
|
||||
<script>
|
||||
(function() {
|
||||
"use strict";
|
||||
var res = Bridge.Resources;
|
||||
var stru = Bridge.String;
|
||||
var title = document.getElementById("guide-title");
|
||||
title.textContent = stru.format(res.byname("IDS_TITLEFORMAT"), res.fromfile(exepath, 300));
|
||||
var text = document.getElementById("guide-desc");
|
||||
text.textContent = res.byname("IDS_GUIDETEXT_COMMON");
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -8,9 +8,9 @@
|
||||
};
|
||||
}
|
||||
var pages = {
|
||||
general: getPage("appinstaller/general.html", "General"),
|
||||
theme: getPage("appinstaller/theme.html", "Theme"),
|
||||
update: getPage("update.html", "Update")
|
||||
general: getPage("appinstaller/general.html", getPublicRes(101)),
|
||||
theme: getPage("appinstaller/theme.html", getPublicRes(102)),
|
||||
update: getPage("update.html", getPublicRes(103))
|
||||
};
|
||||
Object.defineProperty(global, "pages", {
|
||||
get: function() {
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
(function(global) {
|
||||
var storage = Bridge.External.Storage;
|
||||
var path = storage.path;
|
||||
var root = path.getDir(path.program);
|
||||
var exepath = path.combine(root, "appinstaller.exe");
|
||||
var id = "App";
|
||||
var ve = Bridge.External.VisualElements.get(id);
|
||||
var slideback = ve["BackgroundColor"];
|
||||
global.slideback = slideback;
|
||||
global.exepath = exepath;
|
||||
global.visual = ve;
|
||||
})(this);
|
||||
Reference in New Issue
Block a user