winutil
winutil copied to clipboard
How to only run `tweaks,json` (Desktop profile) using command line?
Instead of using
irm https://christitus.com/win | iex
and waiting the GUI to load, waiting for winutil to install chocolatey, manually going to Tweaks
, manually selecting Desktop
, manually selecting Run Tweaks
I'm looking for a simple way to automate it using command line (CMD/PowerShell).
I want a short line that I can execute that will do Tweaks
> Desktop
> Run Tweaks
,
I don't want to even load the GUI if possible.
According to README.md.
You should be able to export the configuration file and run it using the following command
irm https://christitus.com/win -Config [path-to-your-config] -Run | iex
well, i am aware of the readme file, but this is not what i meant. i meant a one-liner command that will not need external files such as configs.
So I have this code DIDN'T TEST IT
DownloadURL=https://blusewill.us.to/tweaks.json
Invoke-WebRequest $DownloadURL -OutFile $env:TEMP/tweaks.json
Invoke-WebRequest https://christitus.com/win -Config $env:TEMP/tweaks.json -Run | iex
which it should grab the file from the any hosting provider. I am using my website such as example here. And Download it to %temp% folder and executive the toolbox.
After that hosting on your own website also working as one line command.