[Feature Request]-LKLauncher settings.cfg
Posté:
10 Janvier 2014, 12:04
de brentmel
Would like to specify where the application data files are stored, or better yet, would like to specify application parameters to always pass to the application executable using relative paths.
here is what my current directory structure looks like with an example app managed by LiberKey
[BASE DIR]
L:\LK\Apps\ProcessHacker\App
L:\LK\Apps\ProcessHacker\Data
L:\LK\Apps\ProcessHacker\ProcessHacker_-_license_-_source.txt
L:\LK\Apps\ProcessHacker\ProcessHackerLKL.dat
L:\LK\Apps\ProcessHacker\AppInfo.lbk
L:\LK\Apps\ProcessHacker\ProcessHackerLKL.exe
[DATA DIR]
L:\LK\Apps\ProcessHacker\Data\License_accepted.log
L:\LK\Apps\ProcessHacker\Data\settings\settings.xml
[X64 APP DIR]
L:\LK\Apps\ProcessHacker\App\ProcessHacker\x64\plugins
L:\LK\Apps\ProcessHacker\App\ProcessHacker\x64\kprocesshacker.sys
L:\LK\Apps\ProcessHacker\App\ProcessHacker\x64\peview.exe
L:\LK\Apps\ProcessHacker\App\ProcessHacker\x64\ProcessHacker.exe
L:\LK\Apps\ProcessHacker\App\ProcessHacker\x64\settings.xml
-----------------
What I am suggesting is a settings file that ProcessHackerLKL.exe will recognize. Sticking with the example app from above, here a rough idea of some options for power users to edit in text file 'L:\LK\Apps\ProcessHacker\ProcessHackerLKL.cfg'
[ProcessHackerLKL.exe]
always_prefer_x86 = "0" //prefer x86 version on x64 OS//
data_dir = "data"
no_data = "0" //Default 0. 1 launches with default settings and does not store new settings//
cmd_parameters = "-settingsfile "%APPS%\\ProcessHacker\\App\ProcessHacker\\x64\\settings.xml""
//always adds to command line//
x64_parameters = "null"
x86_parameters = "null"
window_option = "normal" //options- normal, minimized, maximized, hidden//
process_priority = "normal"
--------------------
This would be useful for users who ever want to launch an app not going through the menu for whatever reason.