mirror of
https://github.com/yuzu-emu/citra-qt-installer.git
synced 2024-11-24 16:15:40 +01:00
deno: add task definitions
This commit is contained in:
parent
f639faba8e
commit
54f6785dbd
1
.gitignore
vendored
1
.gitignore
vendored
@ -61,3 +61,4 @@ typings/
|
||||
|
||||
# bundled JS
|
||||
*.bundle.js
|
||||
*.min.js
|
||||
|
5
deno.json
Normal file
5
deno.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"tasks": {
|
||||
"bundle": "deno bundle server.js -- server.bundle.js"
|
||||
}
|
||||
}
|
@ -57,7 +57,6 @@ function getTopResultFor(jsonData, platform) {
|
||||
return { notFound: true };
|
||||
}
|
||||
|
||||
const zipBin = await check7z();
|
||||
// The Qt Installer Framework is a pain to build or download.
|
||||
// Because all we need are a few 7-zipped + xml files, we might as well generate them for ourselves.
|
||||
const targets = [
|
||||
@ -100,6 +99,7 @@ const targets = [
|
||||
];
|
||||
|
||||
async function execute() {
|
||||
const zipBin = await check7z();
|
||||
// Clean up any temporary directories.
|
||||
try {
|
||||
await Deno.remove(tempDir, { recursive: true });
|
||||
@ -236,6 +236,8 @@ async function execute() {
|
||||
"No Citra binary release updates are available for the Updates.xml -- nothing to do."
|
||||
);
|
||||
}
|
||||
|
||||
await Deno.remove(tempDir, { recursive: true });
|
||||
}
|
||||
|
||||
execute().catch((err) => {
|
||||
|
Loading…
Reference in New Issue
Block a user