LunaTranslator/docs/cht/gooduse/multiconfigs.md
CHLBC 2290d3c6fc
Improve CHT Tutorial (#1859)
* fix: readme_cht.md

* fix: cht qudai, alltoolbuttons.md, apiservice.md

* fix: cht qudai

* fix: cht embedtranslate.md-emugames_template.md

* fix: cht qudai

* fix: cht alltoolbuttons.md, embedtranslate.md - index.md

* fix: cht index.md - sr.md

* fix: qa1.md, sr.md, textprocess.md - yomitan.md

* fix: cht `、` to ``

* fix: cht title "&" to " & "

* fix: cht include json qudai shibie to bianshi

* fix: cht windows setting describe

* fix: cht del useless space

* fix: cht.ts

* fix: cht new

* fix: cht del useless space

* fix: cht huashu youbiao to huashu

* fix: cht small

* fix: cht `,` to ` `

* fix: dakai to kaiqi

* fix: cht small

* fix: cht readme

* fix: cht `/` to `、`

* fix: cht `/` to `、`

* fix: cht small error about ... and /

* fix: cht final check
2025-08-22 08:36:08 +08:00

21 lines
1.2 KiB
Markdown

# 建立多份設定檔
在此之前,如果想讓軟體同時以不同的設定開啟多個,只能透過整個將軟體複製多份才能實現,這會浪費很多空間。
近期,對此進行了優化,可以讓軟體讀取指定目錄的設定檔,從而只需在執行時指定使用的設定檔目錄,即可使用不同的設定檔。
方法是:
1. 為主程式建立捷徑。
![img](https://image.lunatranslator.org/zh/multiconfigs.png)
1. 修改捷徑的屬性->目標,在最後新增` --userconfig=XXXX`,其中,將`XXXX`取代為你想使用作為新的設定檔之資料夾的名字。然後使用這個捷徑啟動軟體即可。
如果`XXXX`是一個不存在的資料夾,那麼會使用預設設定啟動軟體,並建立這個資料夾。
如果`XXXX`是一個已經存在的資料夾,那麼會使用這個資料夾中的設定檔來啟動軟體。你可以複製舊的`userconfig`資料夾,然後指定`XXXX`為複製的資料夾的名字,這樣就可以從之前的設定之上,分叉出新的設定。
![img](https://image.lunatranslator.org/zh/multiconfigs2.png)
![img](https://image.lunatranslator.org/zh/multiconfigs3.png)