Remove obsolete skipNativeBuilds app build argument

This commit is contained in:
hensm
2022-08-15 15:21:54 +01:00
parent 403fa35af4
commit e3d87ed1e8

View File

@@ -19,14 +19,13 @@ const EXTENSION_ID = "fx_cast@matt.tf";
// Command line args
const argv = minimist(process.argv.slice(2), {
boolean: ["usePkg", "package", "skipNativeBuilds"],
boolean: ["usePkg", "package"],
string: ["arch", "packageType"],
default: {
arch: os.arch(),
package: false,
// Linux package type (deb/rpm)
packageType: "deb",
skipNativeBuilds: false
packageType: "deb"
}
});
@@ -486,11 +485,7 @@ function packageLinuxRpm(
* script (packaging/win/installer.nsi). Requires the
* makensis command line utility.
*/
function packageWin32(
arch,
platformExecutableName,
platformExecutablePath
) {
function packageWin32(arch, platformExecutableName, platformExecutablePath) {
const outputName = `${meta.__applicationName}-${meta.__applicationVersion}-${arch}.exe`;
const scriptPath = path.join(__dirname, "../packaging/win/installer.nsi");