mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
#32 cleanup
This commit is contained in:
parent
e1eb3d61d6
commit
bf27e71ff5
1 changed files with 1 additions and 8 deletions
|
@ -19,17 +19,10 @@ const downloadFileTo = async (uri, path) => {
|
|||
});
|
||||
};
|
||||
|
||||
const getFontURIs = (version) => {
|
||||
const exts = ['eot', 'woff', 'ttf', 'svg'];
|
||||
return exts.map(
|
||||
(ext) => `https://file.myfontastic.com/Fd33ifaooDVpESwnDXETgR/fonts/${version}.${ext}`
|
||||
);
|
||||
};
|
||||
|
||||
async function main() {
|
||||
const tmpIconsCss = './scripts/icons.css';
|
||||
const iconsFolder = './src/icons/';
|
||||
// await downloadFileTo(fontasticDownloadURI, tmpIconsCss); // works
|
||||
await downloadFileTo(fontasticDownloadURI, tmpIconsCss); // works
|
||||
|
||||
const cssFile = fs.readFileSync(tmpIconsCss, 'utf-8');
|
||||
|
||||
|
|
Loading…
Reference in a new issue