Skip to content

v0.3.5

Choose a tag to compare

@33moren33 33moren33 released this 27 Aug 06:27
· 1 commit to main since this release

exe 自己也成了命令行;「停止」按钮不再可能杀错进程;数据文件夹改了名。

  • dsh-box 现在是一个可以敲的词。 双击仍然是窗口,带参数就是命令行。⛔ 0.3.4 及更早的 exe 没有这张脸——带参数会挂住不返回,文件名也还叫 dsh-box-shell.exe

    绿色版要自己敲一次 dsh-box path add,之后在任何目录直接敲三个字;安装版装完会替你敲。

  • 「正在运行」不再只认一个进程号。 旧版把几天前记下的号码当身份,而机器重启之后那个号码可能已经属于别的程序——窗口照样给它画一个「停止」按钮,按下去杀掉的是陌生进程。现在启动时把进程的出生时刻一起记下,两样都对上才算同一台。

    与旧账本不兼容:更早版本起的沙箱,这一版停不掉,需要你手动结束。

  • 数据文件夹改叫 dsh-box-files,里面 boot 是程序、data 是你的家当,结构一个字没变。原因是它和可执行文件重名:在可执行文件不带扩展名的系统上,同一层不能既有这个名字的文件又有这个名字的文件夹。

安装向导同轮补上:可以选中文或英文,且向导选的语言就是装完之后的初始设置。

⚠️ 装过更早版本的话,安装器那一页的「卸载旧版」拦不住——选请勿卸载照样装,装完会把登记整条覆盖成新的。


In English —— the exe is a command line of its own now, the stop button can no longer kill a stranger, and the data folder has a new name.

Double-click still opens the window; pass arguments and the same file answers on the terminal. The portable build needs one dsh-box path add before the word works from any directory; the installer does that for you. A sandbox is now identified by (pid, start time) instead of a bare pid, because a pid recorded days ago may belong to a stranger after a reboot; ledgers written by earlier versions are not compatible, so their sandboxes must be stopped by hand. The data folder is now dsh-box-files — same boot and data inside — because a folder sharing the executable's name cannot sit beside it on any platform whose executables carry no extension.