mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Remove obsolete skipNativeBuilds app build argument
This commit is contained in:
@@ -19,14 +19,13 @@ const EXTENSION_ID = "fx_cast@matt.tf";
|
|||||||
|
|
||||||
// Command line args
|
// Command line args
|
||||||
const argv = minimist(process.argv.slice(2), {
|
const argv = minimist(process.argv.slice(2), {
|
||||||
boolean: ["usePkg", "package", "skipNativeBuilds"],
|
boolean: ["usePkg", "package"],
|
||||||
string: ["arch", "packageType"],
|
string: ["arch", "packageType"],
|
||||||
default: {
|
default: {
|
||||||
arch: os.arch(),
|
arch: os.arch(),
|
||||||
package: false,
|
package: false,
|
||||||
// Linux package type (deb/rpm)
|
// Linux package type (deb/rpm)
|
||||||
packageType: "deb",
|
packageType: "deb"
|
||||||
skipNativeBuilds: false
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -486,11 +485,7 @@ function packageLinuxRpm(
|
|||||||
* script (packaging/win/installer.nsi). Requires the
|
* script (packaging/win/installer.nsi). Requires the
|
||||||
* makensis command line utility.
|
* makensis command line utility.
|
||||||
*/
|
*/
|
||||||
function packageWin32(
|
function packageWin32(arch, platformExecutableName, platformExecutablePath) {
|
||||||
arch,
|
|
||||||
platformExecutableName,
|
|
||||||
platformExecutablePath
|
|
||||||
) {
|
|
||||||
const outputName = `${meta.__applicationName}-${meta.__applicationVersion}-${arch}.exe`;
|
const outputName = `${meta.__applicationName}-${meta.__applicationVersion}-${arch}.exe`;
|
||||||
|
|
||||||
const scriptPath = path.join(__dirname, "../packaging/win/installer.nsi");
|
const scriptPath = path.join(__dirname, "../packaging/win/installer.nsi");
|
||||||
|
|||||||
Reference in New Issue
Block a user