Fixed: Misspelled function name

This commit is contained in:
Martin Carlberg
2021-09-17 10:37:03 +02:00
parent 79f40d24ae
commit 973fa1b978
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ ConverterConversionException = @"ConverterConversionException";
if ([outputPath length])
{
// Compile xib or nib to make sure we have a non-new format nib.
temporaryNibFilePath = path.join(os.tmpDir(), path.basename(aFilePath) + ".tmp.nib");
temporaryNibFilePath = path.join(os.tmpdir(), path.basename(aFilePath) + ".tmp.nib");
try {
child_process.execSync("/usr/bin/ibtool" + " " + aFilePath + " " + "--compile" + " " + temporaryNibFilePath, {stdio: 'inherit'});
@@ -146,7 +146,7 @@ ConverterConversionException = @"ConverterConversionException";
}
// Convert from binary plist to XML plist
var temporaryPlistFilePath = path.join(os.tmpDir(), path.basename(aFilePath) + ".tmp.plist");
var temporaryPlistFilePath = path.join(os.tmpdir(), path.basename(aFilePath) + ".tmp.plist");
try {
child_process.execSync("/usr/bin/plutil" + " " + "-convert" + " " + "xml1" + " " + (temporaryNibFilePathInDirectoryFile || temporaryNibFilePath) + " " + "-o" + " " + temporaryPlistFilePath, {stdio: 'inherit'});
+1 -1
View File
@@ -49,7 +49,7 @@ var path = require("path");
self = [super init];
var nibPath = path.join(os.tmpDir(), "nib2cib-" + generateID(40) + ".nib"),
var nibPath = path.join(os.tmpdir(), "nib2cib-" + generateID(40) + ".nib"),
data = [aCoder decodeObjectForKey:@"NSNibFileData"];
fs.writeFileSync(nibPath, new Uint8Array(data.bytes()), { encoding: "utf16le" });