From 972db78562355f571e5ceac8b7d84de769a7e262 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 11 Apr 2021 14:15:18 +0200 Subject: [PATCH] Small clarification --- scripts/fixTheme.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/fixTheme.ts b/scripts/fixTheme.ts index 80de8a7..2cc563f 100644 --- a/scripts/fixTheme.ts +++ b/scripts/fixTheme.ts @@ -57,7 +57,13 @@ for (const replacement of replacements) { } const dir = path.substring(0, path.lastIndexOf("/")) +const fixScriptPath = dir + "/fix_script_"+path.replace(/\//g,"_")+".sh" writeFileSync(dir + "/generated.license_info.json", JSON.stringify(licenses, null, " ")) -writeFileSync(dir + "/fix_script_"+path.replace(/\//g,"_")+".sh", linuxHints.join("\n")) +writeFileSync(fixScriptPath, linuxHints.join("\n")) writeFileSync(path+".autofixed.json", fixedThemeJson) - \ No newline at end of file + +console.log(`IMPORTANT: + 1) run ${fixScriptPath} + 2) Copy generated.license_info.json over into license_info.json and add the missing attributions and authors + 3) Verify ${path}.autofixed.json as theme, and rename it to ${path} + 4) Delete the fix script and other unneeded files`) \ No newline at end of file