Skip to content

Commit

Permalink
初步完善darwin的打包
Browse files Browse the repository at this point in the history
  • Loading branch information
ying32 committed May 10, 2019
1 parent 9106451 commit 592e2d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build/rpbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,13 @@ func createZipFile(zipFileName string, isGUI bool) error {
}
case "darwin":
if runtime.GOARCH == "386" {

// 产生一个app
//pkgMacOSApp("../rproxy")
pkgMacOSApp("../rproxy_GUI")
compressFile("./rproxy.app/Contents/PkgInfo", "rproxy.app/Contents/PkgInfo")
compressFile("./rproxy.app/Contents/Info.plist", "rproxy.app/Contents/Info.plist")
compressFile("./rproxy.app/Contents/Resources/rproxy.icns", "rproxy.app/Contents/Resources/rproxy.icns")
compressFile("./rproxy.app/Contents/MacOS/rproxy", "rproxy.app/Contents/MacOS/rproxy")
compressFile("./rproxy.app/Contents/MacOS/liblcl.dylib", "rproxy.app/Contents/MacOS/liblcl.dylib")
}
}
}
Expand Down

0 comments on commit 592e2d0

Please sign in to comment.