爱意满满的作品展示区。
Charon2050

penv - 一个创建(伪)独立便携环境的小脚本,让任何软件在便携环境下运行

  •  
  •   Charon2050 ·
    Charon2050 · Jun 10, 2025 · 2196 views
    This topic created in 344 days ago, the information mentioned may be changed or developed.

    通过修改环境变量的方法,使程序把产生的数据存放在指定的位置(默认 penv/env/default/),而不是 C 盘的系统默认路径,实现便携化。还可以用来软件多开、打包环境之类的。

    为什么是(伪)呢,因为脚本的原理就是修改环境变量,把 AppData 、ProgramData 、User 之类的路径全都设置到指定的文件夹。其实没有真的隔离,程序还是可以读写系统路径。

    https://github.com/Charon2050/penv

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5580 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 01:52 · PVG 09:52 · LAX 18:52 · JFK 21:52
    ♥ Do have faith in what you're doing.