mirror of
https://github.com/yuzu-emu/citra-qt-installer.git
synced 2024-12-22 18:05:40 +00:00
Still target push regardless of if you created a metadata file. This was causing skipped metadata to fall off the Updates.xml list.
This commit is contained in:
parent
2975b386dc
commit
2cc459644e
|
@ -113,9 +113,7 @@ async function execute() {
|
|||
const targetMetadataFilePath = `${distDir}/${name}/${version}meta.7z`;
|
||||
if (fs.existsSync(targetMetadataFilePath)) {
|
||||
logger.info(`Metadata information already exists for ${name} ${version}, skipping.`);
|
||||
return;
|
||||
}
|
||||
|
||||
} else {
|
||||
logger.info(`Building release information for ${name} ${version}.`);
|
||||
updatesAvailable = true;
|
||||
|
||||
|
@ -134,11 +132,12 @@ async function execute() {
|
|||
logger.debug(`Creating target metadata for ${name} at ${targetMetadataFilePath}`);
|
||||
fs.moveSync(`${tempDir}/meta.7z`, targetMetadataFilePath);
|
||||
|
||||
// Create metadata for the Update.xml
|
||||
var metaHash = sha1(targetMetadataFilePath);
|
||||
|
||||
// Cleanup temporary working directory.
|
||||
fs.removeSync(workingDirectoryPath);
|
||||
}
|
||||
|
||||
// Create metadata for the Update.xml
|
||||
var metaHash = sha1(targetMetadataFilePath);
|
||||
|
||||
let target = [];
|
||||
target.push({"Name": name});
|
||||
|
|
Loading…
Reference in a new issue