diff --git a/index.js b/index.js index ac709b6a3..b5597c9ae 100644 --- a/index.js +++ b/index.js @@ -95,7 +95,7 @@ const EntryPoint = async (index, ipaName) => { const M = new Main('IPA', "Different Fonts"); await M.Main(async () => { var _a; - const ipaList = ['GGSans', ...await M.get('ls Fonts/woff2')]; + const ipaList = ['GGSans', ...await M.get('ls Fonts/ttf')]; const ipaStates = ipaList.map(ipa => new State('pending', ipa)); await Shell.write(`${M.CYAN}Packaging the ${M.PINK}Base IPAs${M.CYAN}. If an ${M.PINK}IPA${M.CYAN} has been ${M.GREEN}successfully${M.CYAN} packaged, it will look like this: ${M.BLUE}"${M.PINK}[${M.CYAN}+${M.PINK}]${M.GREEN} Example IPA${M.BLUE}"\n`); await M.logCurrentState(ipaStates, "Base Font IPAs"); @@ -106,7 +106,7 @@ const EntryPoint = async (index, ipaName) => { await Shell.runSilently(`rm -rf Payload & wait $!`); for (const Font of ipaList.filter(ipa => ipa !== 'GGSans')) { await Shell.runSilently(`unzip -qq -o Dist/Rosiecord-${ipaName.split("_")[1]}_GGSans-Font.ipa`); - await Shell.runSilently(`cp -rf Fonts/woff2/${Font}/* Payload/Discord.app/`); + await Shell.runSilently(`cp -rf Fonts/ttf/${Font}/* Payload/Discord.app/`); await Shell.runSilently(`zip -q -r Dist/Rosiecord-${ipaName.split("_")[1]}_${Font}-Font.ipa Payload & wait $!`); await Shell.runSilently(`rm -rf Payload & wait $!`); ((_a = ipaStates.find(ipa => ipa.name === Font)) !== null && _a !== void 0 ? _a : { state: null }).state = 'success'; diff --git a/index.ts b/index.ts index 4ecfd73cf..81c0bb014 100644 --- a/index.ts +++ b/index.ts @@ -123,7 +123,7 @@ const EntryPoint = async (index: number, ipaName: string) => { case 0: { const M: Main = new Main('IPA', "Different Fonts"); await M.Main(async (): Promise => { - const ipaList: string[] = ['GGSans', ...await M.get('ls Fonts/woff2')]; + const ipaList: string[] = ['GGSans', ...await M.get('ls Fonts/ttf')]; const ipaStates: State[] = ipaList.map(ipa => new State('pending', ipa)) await Shell.write(`${M.CYAN}Packaging the ${M.PINK}Base IPAs${M.CYAN}. If an ${M.PINK}IPA${M.CYAN} has been ${M.GREEN}successfully${M.CYAN} packaged, it will look like this: ${M.BLUE}"${M.PINK}[${M.CYAN}+${M.PINK}]${M.GREEN} Example IPA${M.BLUE}"\n`) @@ -137,7 +137,7 @@ const EntryPoint = async (index: number, ipaName: string) => { for (const Font of ipaList.filter(ipa => ipa !== 'GGSans')) { await Shell.runSilently(`unzip -qq -o Dist/Rosiecord-${ipaName.split("_")[1]}_GGSans-Font.ipa`); - await Shell.runSilently(`cp -rf Fonts/woff2/${Font}/* Payload/Discord.app/`) + await Shell.runSilently(`cp -rf Fonts/ttf/${Font}/* Payload/Discord.app/`) await Shell.runSilently(`zip -q -r Dist/Rosiecord-${ipaName.split("_")[1]}_${Font}-Font.ipa Payload & wait $!`) await Shell.runSilently(`rm -rf Payload & wait $!`);