The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Write program version and OS to .birdfont file

Changes made to libbirdfont/BirdFont.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/BirdFont.vala +++ libbirdfont/BirdFont.vala @@ -26,6 +26,18 @@ public static string get_version () { return VERSION; + } + + public static string get_os () { + #if MAC + return "mac"; + #else + if (BirdFont.win32) { + return "windows"; + } else { + return "linux"; + } + #endif } public static void set_logging (bool log) {