winutil icon indicating copy to clipboard operation
winutil copied to clipboard

How to only run `tweaks,json` (Desktop profile) using command line?

Open Obegg opened this issue 10 months ago • 3 comments

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.

Obegg avatar Apr 09 '24 18:04 Obegg

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

blusewill avatar Apr 10 '24 05:04 blusewill

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.

Obegg avatar Apr 11 '24 01:04 Obegg

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.

blusewill avatar Apr 16 '24 16:04 blusewill