3 Replies
Stack Overflow
How to get absolute path of compiled deno executable?
I want to get executable (artifact from deno compile) path in script.
I tried import.meta.url, Deno.mainModule and Deno.args but none of them works.
import.meta.url didn't changed even if executable
nvm, I found
You can set your own path using
It defaults to the file name (if the file is not like mod.ts)