Centralize configuration, logging, database decryption and resource metadata. Use task dependencies for development, SDK and release builds; move source tools and game downloads to Go with ordered client preparation. Rename the client to BD2 Launcher, add native icons, and update packaging and SDK checks.
10 lines
144 B
Go
10 lines
144 B
Go
//go:build !windows
|
|
|
|
package config
|
|
|
|
import "os"
|
|
|
|
func replaceFile(source, destination string) error {
|
|
return os.Rename(source, destination)
|
|
}
|