mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 01:59:58 +00:00
Use MUI pages for Windows installer UI
This commit is contained in:
@@ -14,6 +14,9 @@ const { spawnSync } = require("child_process");
|
||||
const { __applicationName: applicationName
|
||||
, __applicationVersion: applicationVersion } = require("../package.json");
|
||||
|
||||
const { author
|
||||
, homepage } = require("../../package.json");
|
||||
|
||||
const { __extensionId: extensionId } = require("../../ext/package.json");
|
||||
|
||||
const { executableName
|
||||
@@ -22,6 +25,7 @@ const { executableName
|
||||
, manifestPath
|
||||
, pkgPlatform
|
||||
, DIST_PATH
|
||||
, LICENSE_PATH
|
||||
, WIN_REGISTRY_KEY } = require("./lib/paths");
|
||||
|
||||
|
||||
@@ -460,6 +464,11 @@ function packageWin32 (
|
||||
, manifestName
|
||||
, winRegistryKey: WIN_REGISTRY_KEY
|
||||
, outputName
|
||||
, licensePath: LICENSE_PATH
|
||||
|
||||
// Uninstaller keys
|
||||
, registryPublisher: author
|
||||
, registryUrlInfoAbout: homepage
|
||||
};
|
||||
|
||||
// Write templated script to build dir
|
||||
|
||||
@@ -5,8 +5,10 @@ const { __applicationName
|
||||
, __applicationExecutableName } = require("../../package.json");
|
||||
|
||||
|
||||
exports.DIST_PATH = path.join(__dirname, "../../../dist/app");
|
||||
const rootPath = path.join(__dirname, "../../../");
|
||||
|
||||
exports.DIST_PATH = path.join(rootPath, "dist/app");
|
||||
exports.LICENSE_PATH = path.join(rootPath, "LICENSE");
|
||||
exports.WIN_REGISTRY_KEY = __applicationName;
|
||||
|
||||
exports.executableName = {
|
||||
|
||||
Reference in New Issue
Block a user