Update 'README.md'

This commit is contained in:
Fierelier 2021-03-25 12:31:27 +00:00
parent 9079565119
commit ecb1dc7261

View File

@ -10,7 +10,9 @@ A windows homebrew kit and collection of mods. Can mod .WIM (this is where main-
* **Something to run the script as SYSTEM and TrustedInstaller:** There isn't much good software to do this with, especially the TrustedInstaller part. This is okay: https://www.nirsoft.net/utils/advanced_run.html -- But it's not open source ([*1](#notes)) * **Something to run the script as SYSTEM and TrustedInstaller:** There isn't much good software to do this with, especially the TrustedInstaller part. This is okay: https://www.nirsoft.net/utils/advanced_run.html -- But it's not open source ([*1](#notes))
## How to use - Simple ## How to use - Simple
Run `run.bat`. It will use AdvancedRun (make sure it's in %path%) to execute Python, and apply all mods to your wished for wim file. It will do two runs, one as SYSTEM, and another as TrustedInstaller. Both runs have different mods. If you want to know how it works, edit the .bat file. Extract both wimlib and AdvancedRun to `Path\` (the folder is only added to %path% if you use `run.bat`). Both `AdvancedRun.exe` and `wimlib-imagex.exe` should be in the main `Path\` folder.
Run `run.bat`. It will use AdvancedRun to execute `run.py`, and apply all mods to your wished for wim file. It will do two runs, one as SYSTEM, and another as TrustedInstaller. Both runs have different mods. If you want to know how it works, edit the .bat file.
The spawned Python windows will only stay open if there is an error. So if the windows don't close instantly and actually show some progress, it's likely fine. The spawned Python windows will only stay open if there is an error. So if the windows don't close instantly and actually show some progress, it's likely fine.
@ -22,7 +24,7 @@ Note that you may have to edit run.bat depending on your configuration.
Replace `wimpath` with the path to your .wim, and `1` with the index you want to modify, * for all. Both arguments are optional, though you cannot define an index without a wim. If you run the batch without any arguments, you will be asked for some. Replace `wimpath` with the path to your .wim, and `1` with the index you want to modify, * for all. Both arguments are optional, though you cannot define an index without a wim. If you run the batch without any arguments, you will be asked for some.
## How to use - Advanced ## How to use - Advanced
Run `run.py` with some arguments, as SYSTEM/TrustedInstaller. Arguments work like this: `arg="value"`. If working with .WIMs, make sure [wimlib](https://wimlib.net/) is in your %path%. Run `run.py` with some arguments, as SYSTEM or TrustedInstaller. Arguments work like this: `arg="value"`. If working with .WIMs, make sure [wimlib](https://wimlib.net/) is in your %path%.
### Arguments - .WIM: ### Arguments - .WIM:
* **wim:** Point to a wim file (**required**) * **wim:** Point to a wim file (**required**)