mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-04 06:00:23 +00:00
Make internal/temp if it doesn't exist (closes #45)
This commit is contained in:
parent
688e31c0f3
commit
c4674e10eb
|
@ -220,6 +220,8 @@ DIM SHARED tmpdir AS STRING, tmpdir2 AS STRING
|
||||||
IF os$ = "WIN" THEN tmpdir$ = ".\internal\temp\": tmpdir2$ = "..\\temp\\"
|
IF os$ = "WIN" THEN tmpdir$ = ".\internal\temp\": tmpdir2$ = "..\\temp\\"
|
||||||
IF os$ = "LNX" THEN tmpdir$ = "./internal/temp/": tmpdir2$ = "../temp/"
|
IF os$ = "LNX" THEN tmpdir$ = "./internal/temp/": tmpdir2$ = "../temp/"
|
||||||
|
|
||||||
|
IF NOT _DIREXISTS(tmpdir$) THEN MKDIR tmpdir$
|
||||||
|
|
||||||
DECLARE LIBRARY
|
DECLARE LIBRARY
|
||||||
FUNCTION getpid& ()
|
FUNCTION getpid& ()
|
||||||
END DECLARE
|
END DECLARE
|
||||||
|
|
Loading…
Reference in a new issue