mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-01-30 21:26:22 -05:00
Added runtime check for 32-bit windows. (#273)
This commit is contained in:
parent
6cea2bded0
commit
1653ffc362
@ -110,6 +110,11 @@ func getDefaultConfiguration() *Configuration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
|
case "windows":
|
||||||
|
switch runtime.GOARCH {
|
||||||
|
case "386":
|
||||||
|
config.MpqPath = "C:/Program Files/Diablo II"
|
||||||
|
}
|
||||||
case "darwin":
|
case "darwin":
|
||||||
config.MpqPath = "/Applications/Diablo II/"
|
config.MpqPath = "/Applications/Diablo II/"
|
||||||
config.MpqLoadOrder = []string{
|
config.MpqLoadOrder = []string{
|
||||||
|
Loading…
Reference in New Issue
Block a user