parent
4d9c6197fd
commit
68ed555e91
|
@ -8,7 +8,7 @@ import os
|
||||||
import time
|
import time
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Version = '0.1.11'
|
Version = '0.1.12'
|
||||||
)
|
)
|
||||||
|
|
||||||
enum BuildMode {
|
enum BuildMode {
|
||||||
|
|
|
@ -346,7 +346,6 @@ pub fn file_exists(path string) bool {
|
||||||
pub fn dir_exists(path string) bool {
|
pub fn dir_exists(path string) bool {
|
||||||
$if windows {
|
$if windows {
|
||||||
attr := int(C.GetFileAttributes(path.cstr()))
|
attr := int(C.GetFileAttributes(path.cstr()))
|
||||||
println('ATTR =$attr')
|
|
||||||
return attr == FILE_ATTRIBUTE_DIRECTORY
|
return attr == FILE_ATTRIBUTE_DIRECTORY
|
||||||
}
|
}
|
||||||
$else {
|
$else {
|
||||||
|
|
Loading…
Reference in New Issue