server
This commit is contained in:
17
cmd/server/main_windows.go
Normal file
17
cmd/server/main_windows.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"cloudsave/pkg/tools/windows"
|
||||
"os"
|
||||
)
|
||||
|
||||
const defaultDocumentRoot string = "C:/ProgramData/CloudSave"
|
||||
|
||||
func main() {
|
||||
run()
|
||||
}
|
||||
|
||||
func fatal(message string, exitCode int) {
|
||||
windows.MessageBox(windows.NULL, message, "CloudSave", windows.MB_OK)
|
||||
os.Exit(exitCode)
|
||||
}
|
||||
Reference in New Issue
Block a user