#!/usr/bin/env bash cd ../ remote_dist_path="/home/lighthouse/www/dist"# clear remote distssh root@lighthouse "rm -rf $remote_dist_path"# mkdir remote distssh root@lighthouse "mkdir $remote_dist_path"# build and scppnpm build && scp -r dist/* usr@lighthouse:$remote_dist_path
fonttools(issue#2647)
#!/usr/bin/env python from fontTools.ttLib.ttCollection import TTCollectionimport osimport sys filename = sys.argv[1]ttc = TTCollection(filename)basename = os.path.basename(filename)for i, font in enumerate(ttc): font.save(f"{basename}#{i}.ttf")