From: Brendan Hansen Date: Tue, 5 Jan 2021 00:05:30 +0000 (-0600) Subject: small updates; getting more working with Windows X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=91c058394aba301f3c77d703523728df7974a44e;p=onyx.git small updates; getting more working with Windows --- diff --git a/bin/onyx b/bin/onyx index 671685a1..77fdb3f1 100755 Binary files a/bin/onyx and b/bin/onyx differ diff --git a/misc/onyx-linux.sublime-build b/misc/onyx-linux.sublime-build new file mode 100644 index 00000000..333000a3 --- /dev/null +++ b/misc/onyx-linux.sublime-build @@ -0,0 +1,7 @@ +{ + "target": "exec", + "shell_cmd": "/usr/bin/onyx -V -o \"${folder}/${file_base_name}.wasm\" \"$file\"", + "working_dir": "${folder}", + "selector": "source.onyx", + "file_regex": "^\\(([^:]+):([0-9]+),([0-9]+)\\) (.*)", +} \ No newline at end of file diff --git a/misc/onyx-windows.sublime-build b/misc/onyx-windows.sublime-build new file mode 100644 index 00000000..ac349e9f --- /dev/null +++ b/misc/onyx-windows.sublime-build @@ -0,0 +1,7 @@ +{ + "target": "exec", + "shell_cmd": "\\dev\\onyx\\onyx.exe -V -o \"${folder}/${file_base_name}.wasm\" \"$file\"", + "working_dir": "${folder}", + "selector": "source.onyx", + "file_regex": "^\\(([^:]+:[^:]+):([0-9]+),([0-9]+)\\) (.*)", +} \ No newline at end of file diff --git a/misc/onyx.sublime-build b/misc/onyx.sublime-build deleted file mode 100644 index 333000a3..00000000 --- a/misc/onyx.sublime-build +++ /dev/null @@ -1,7 +0,0 @@ -{ - "target": "exec", - "shell_cmd": "/usr/bin/onyx -V -o \"${folder}/${file_base_name}.wasm\" \"$file\"", - "working_dir": "${folder}", - "selector": "source.onyx", - "file_regex": "^\\(([^:]+):([0-9]+),([0-9]+)\\) (.*)", -} \ No newline at end of file diff --git a/onyx.exe b/onyx.exe index 108ebd01..6378ea27 100644 Binary files a/onyx.exe and b/onyx.exe differ diff --git a/src/onyx.c b/src/onyx.c index 9348211e..6a1f1e26 100644 --- a/src/onyx.c +++ b/src/onyx.c @@ -17,7 +17,7 @@ #ifdef _BH_LINUX #define CORE_INSTALLATION "/usr/share/onyx" #elif defined(_WIN32) || defined(_WIN64) - #define CORE_INSTALLATION "C:\\Program Files\\Onyx" + #define CORE_INSTALLATION "\\dev\\onyx\\" #endif #endif