mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
修改打包脚本
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ func build(t target) {
|
||||
runtime.Assert(err)
|
||||
err = copyFile(path.Join("conf", "server.yaml"), path.Join(buildDir, "server.yaml"))
|
||||
runtime.Assert(err)
|
||||
err = copyFile("CHANGELOG.md", "CHANGELOG.md")
|
||||
err = copyFile("CHANGELOG.md", path.Join(buildDir, "CHANGELOG.md"))
|
||||
runtime.Assert(err)
|
||||
if t.os != "windows" && t.os != "android" && t.os != "ios" {
|
||||
runtime.Assert(os.MkdirAll(path.Join(buildDir, "init.d"), 0755))
|
||||
|
||||
Reference in New Issue
Block a user