diff options
Diffstat (limited to 'source/dw.rs')
-rw-r--r-- | source/dw.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/dw.rs b/source/dw.rs index 976f049..409368e 100644 --- a/source/dw.rs +++ b/source/dw.rs @@ -8,8 +8,16 @@ pub struct VerTyp { pub const VER: VerTyp = VerTyp { maj: 0x0, - min: 0x0, + min: 0x1, pat: 0x0, }; +pub const fn datpth() -> &'static str { + if cfg!(unix) { + //return "/usr/share/local/deltaworld"; + return "/home/delta/Repositories/deltaworld" + } + return ""; +} + pub mod app; |