Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartan322 authored Jul 30, 2023
1 parent 0da3bb2 commit b0b8d3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59614,13 +59614,13 @@ async function downloadFile(filePath, downloadUrl, cacheKey, restoreKey) {
async function downloadTemplates() {
const templatesPath = external_path_.join(GODOT_WORKING_PATH, GODOT_TEMPLATES_FILENAME);
const cacheKey = `godot-templates-${GODOT_TEMPLATES_DOWNLOAD_URL}`;
const restoreKey = `godot-templates-`;
const restoreKey = `godot-templates-${GODOT_TEMPLATES_DOWNLOAD_URL}`;
await downloadFile(templatesPath, GODOT_TEMPLATES_DOWNLOAD_URL, cacheKey, restoreKey);
}
async function downloadExecutable() {
const executablePath = external_path_.join(GODOT_WORKING_PATH, GODOT_ZIP);
const cacheKey = `godot-executable-${GODOT_DOWNLOAD_URL}`;
const restoreKey = `godot-executable-`;
const restoreKey = `godot-executable-${GODOT_DOWNLOAD_URL}`;
await downloadFile(executablePath, GODOT_DOWNLOAD_URL, cacheKey, restoreKey);
}
function isGhes() {
Expand Down
4 changes: 2 additions & 2 deletions src/godot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ async function downloadFile(
async function downloadTemplates(): Promise<void> {
const templatesPath = path.join(GODOT_WORKING_PATH, GODOT_TEMPLATES_FILENAME);
const cacheKey = `godot-templates-${GODOT_TEMPLATES_DOWNLOAD_URL}`;
const restoreKey = `godot-templates-`;
const restoreKey = `godot-templates-${GODOT_TEMPLATES_DOWNLOAD_URL}`;
await downloadFile(templatesPath, GODOT_TEMPLATES_DOWNLOAD_URL, cacheKey, restoreKey);
}

async function downloadExecutable(): Promise<void> {
const executablePath = path.join(GODOT_WORKING_PATH, GODOT_ZIP);
const cacheKey = `godot-executable-${GODOT_DOWNLOAD_URL}`;
const restoreKey = `godot-executable-`;
const restoreKey = `godot-executable-${GODOT_DOWNLOAD_URL}`;
await downloadFile(executablePath, GODOT_DOWNLOAD_URL, cacheKey, restoreKey);
}

Expand Down

0 comments on commit b0b8d3e

Please sign in to comment.