Make the dongle to download smaller

This commit is contained in:
Joseph Garrone
2021-03-04 21:43:36 +01:00
parent 624409434a
commit 934c07f365
6 changed files with 18 additions and 24 deletions

View File

@ -7,7 +7,7 @@ import {
replaceImportFromStaticInJsCode
} from "./replaceImportFromStatic";
import { generateFtlFilesCodeFactory } from "./generateFtl";
import { keycloakBuiltinThemesAndThirdPartyExamplesThemsUrl } from "../download-sample-keycloak-themes";
import { builtinThemesUrl } from "../install-builtin-keycloak-themes";
import { downloadAndUnzip } from "../tools/downloadAndUnzip";
import * as child_process from "child_process";
import { ftlValuesGlobalName } from "./ftlValuesGlobalName";
@ -86,7 +86,7 @@ export function generateKeycloakThemeResources(
const tmpDirPath = pathJoin(themeDirPath, "..", "tmp_xxKdLpdIdLd");
downloadAndUnzip({
"url": keycloakBuiltinThemesAndThirdPartyExamplesThemsUrl,
"url": builtinThemesUrl,
"destDirPath": tmpDirPath
});