Open issuebotaudinowho[bot] opened 1 year ago
Linux has the same problem, and won't work with that oneliner. A more concise script would be this (probably works on macos too so we don't need separate files, please confirm):
#!/usr/bin/env bash
cd "$(dirname "$0")"
./PMDO -dev
The contents of that do work (wow, wish I knew about dirname
earlier...), but a few caveats:
#! /bin/sh
to get whatever the default configured POSIX shell is. Mac will also automatically do this if no shebang is provided.
Discord: shitpost_sunkern#0 <@292039958829727744>
dev.bat — only works on Windows.
Thing is, the file with similar contents would run fine, but needs a different extension and permissions to be recognized by the OS as a script.
Mac: dev.command, needs to be
chmod +x
'd Contents Mac:Linux: dev.sh, needs to be
chmod +x
'd Contents Linux:./PMDO -dev
(double check this one because I can't)