1 Star 8 Fork 2

capsion-Personal / assttyys_autojs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pack.js 645 Bytes
一键复制 编辑 原始数据 按行查看 历史
zzliux 提交于 2022-01-22 23:21 . 修改前端通过http加载而不是file:
// # !/bin/bash
// tarpath=assttyys_ng
// if [ -e $tarpath ]; then
// rm -r $tarpath
// fi
// mkdir -p $tarpath
// cp project.json $tarpath/project.json
// cp -r assets $tarpath/assets
// cp -r dist $tarpath/dist
const compressing = require('compressing');
const zipStream = new compressing.zip.Stream();
const fs = require('fs');
zipStream.addEntry('assets', { relativePath: 'assttyys_ng' });
zipStream.addEntry('dist/auto.js', { relativePath: 'assttyys_ng/dist/auto.js' });
zipStream.addEntry('project.json', { relativePath: 'assttyys_ng/project.json' });
zipStream.pipe(fs.createWriteStream('assttyys_ng.zip'));
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/capsion-yys/assttyys_autojs.git
git@gitee.com:capsion-yys/assttyys_autojs.git
capsion-yys
assttyys_autojs
assttyys_autojs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891