Multiple fixes
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import { join as pathJoin } from "path";
|
||||
import { keycloakThemeBuildingDirPath } from "./build-keycloak-theme";
|
||||
import { downloadAndUnzip } from "./tools/downloadAndUnzip";
|
||||
|
||||
@ -12,8 +11,8 @@ if (require.main === module) {
|
||||
console.log("execute!");
|
||||
|
||||
downloadAndUnzip({
|
||||
"url": keycloakThemeBuildingDirPath,
|
||||
"destDirPath": pathJoin(keycloakThemeBuildingDirPath, "src", "main", "resources", "theme")
|
||||
"url": keycloakBuiltinThemesAndThirdPartyExamplesThemsUrl,
|
||||
"destDirPath": keycloakThemeBuildingDirPath
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ console.log(`Running main in ${sampleReactProjectDirPath}`);
|
||||
|
||||
console.log(
|
||||
st.execSync(
|
||||
`node ${pathJoin(getProjectRoot(), "src", "bin", "build-keycloak-theme")}`,
|
||||
`node ${pathJoin(getProjectRoot(), "dist", "bin", "build-keycloak-theme")}`,
|
||||
{ "cwd": sampleReactProjectDirPath }
|
||||
)
|
||||
);
|
||||
|
@ -7,7 +7,7 @@ import { getProjectRoot } from "../bin/tools/getProjectRoot";
|
||||
console.log(`Running main in ${sampleReactProjectDirPath}`);
|
||||
|
||||
st.execSync(
|
||||
`node ${pathJoin(getProjectRoot(), "src","bin","download-sample-keycloak-themes")}`,
|
||||
`node ${pathJoin(getProjectRoot(), "dist","bin","download-sample-keycloak-themes")}`,
|
||||
{ "cwd": sampleReactProjectDirPath }
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user