mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Fix installer.
This commit is contained in:
parent
064a700edd
commit
7bee204390
@ -236,7 +236,8 @@
|
|||||||
"Take a source file path and convert it to an output path."
|
"Take a source file path and convert it to an output path."
|
||||||
[path from-ext to-ext]
|
[path from-ext to-ext]
|
||||||
(->> path
|
(->> path
|
||||||
(string/replace-all sep "___")
|
(string/replace-all "\\" "___")
|
||||||
|
(string/replace-all "/" "___")
|
||||||
(string/replace-all from-ext to-ext)
|
(string/replace-all from-ext to-ext)
|
||||||
(string "build" sep)))
|
(string "build" sep)))
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Version
|
# Version
|
||||||
!define VERSION "1.3.0"
|
!define VERSION "1.3.1"
|
||||||
!define PRODUCT_VERSION "${VERSION}.0"
|
!define PRODUCT_VERSION "${VERSION}.1"
|
||||||
VIProductVersion "${PRODUCT_VERSION}"
|
VIProductVersion "${PRODUCT_VERSION}"
|
||||||
VIFileVersion "${PRODUCT_VERSION}"
|
VIFileVersion "${PRODUCT_VERSION}"
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ static Janet os_execute(int32_t argc, Janet *argv) {
|
|||||||
#ifdef JANET_WINDOWS
|
#ifdef JANET_WINDOWS
|
||||||
|
|
||||||
JanetBuffer *buf = os_exec_escape(exargs);
|
JanetBuffer *buf = os_exec_escape(exargs);
|
||||||
if (buf->count > 1025) {
|
if (buf->count > 8191) {
|
||||||
janet_panic("command line string too long");
|
janet_panic("command line string too long");
|
||||||
}
|
}
|
||||||
const char *path = (const char *) janet_unwrap_string(exargs.items[0]);
|
const char *path = (const char *) janet_unwrap_string(exargs.items[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user