1 Star 0 Fork 0

Andyfoo / go-xutils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
x7zip_file.go 491 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andyfoo 提交于 2019-09-23 09:05 . update
package x7zip_file
import (
"gitee.com/andyfoo/go-xutils/xencode"
"gitee.com/andyfoo/go-xutils/xfile"
)
func Init7zBin(path string) {
var f_7z_exe = path + "/" + "7z.exe"
var f_7z_dll = path + "/" + "7z.dll"
if !xfile.FileIsExist(path) {
xfile.MkdirAll(path)
}
if !xfile.FileIsExist(f_7z_exe) {
xfile.WriteFile(f_7z_exe, xencode.Base64Decode([]byte(DATA_7z_exe)))
}
if !xfile.FileIsExist(f_7z_dll) {
xfile.WriteFile(f_7z_dll, xencode.Base64Decode([]byte(DATA_7z_dll)))
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/andyfoo/go-xutils.git
git@gitee.com:andyfoo/go-xutils.git
andyfoo
go-xutils
go-xutils
v1.0.7

搜索帮助

344bd9b3 5694891 D2dac590 5694891