WDD-scripts icon indicating copy to clipboard operation
WDD-scripts copied to clipboard

PoweShell scripts not working after updating to 5.0.0 (UWP)

Open dlackovic2 opened this issue 2 years ago • 14 comments

Scripts for changing Windows App Theme and Windows System Theme are no longer working after latest update to 5.0.0 (UWP - MS Store version)

https://raw.githubusercontent.com/t1m0thyj/WDD-scripts/master/stable/ChangeWindowsAppTheme.ps1 https://raw.githubusercontent.com/t1m0thyj/WDD-scripts/master/stable/ChangeWindowsSystemTheme.ps1

dlackovic2 avatar Mar 31 '22 18:03 dlackovic2

It is a documented limitation of these scripts that they don't work in the Microsoft Store app (regardless of v4 or v5, it's because they change registry settings): https://github.com/t1m0thyj/WDD-scripts/tree/master/stable#change-windows-app-theme

t1m0thyj avatar Mar 31 '22 18:03 t1m0thyj

Sorry, I wasn't reading documentation because I was using Store app and on version 4.7 or whichever was before, Powershell scripts were working so I wrongly assumed that there is something with latest update.

dlackovic2 avatar Mar 31 '22 20:03 dlackovic2

Reopening since I thought these scripts didn't work with v4.7, but if they did then it's worth investigating why they broke.

t1m0thyj avatar Mar 31 '22 20:03 t1m0thyj

So, I just uninstalled Store app and install regular app via Chocolatey and for me the scripts are still not working. Can I provide you some additional logs or can you check if you are also getting this issue? Thanks

dlackovic2 avatar Mar 31 '22 21:03 dlackovic2

Reopening since I thought these scripts didn't work with v4.7, but if they did then it's worth investigating why they broke.

I can confirm that they were working using Store version. After latest update they broke, and also it seems it broke on regular version as well.

dlackovic2 avatar Mar 31 '22 21:03 dlackovic2

They broke for me too, I've never used the Store version

JulienMaille avatar Mar 31 '22 21:03 JulienMaille

I think I've fixed this issue in the develop branch, you can download it as an artifact from here to test it. For example, download "exe-x64" and extract it to replace your WinDynamicDesktop.exe: image

t1m0thyj avatar Apr 01 '22 05:04 t1m0thyj

Still not working for me

adoginspace avatar Apr 02 '22 05:04 adoginspace

I do confirm

JulienMaille avatar Apr 02 '22 19:04 JulienMaille

Sorry, could you please try version 5.0.1? I think the error is fixed now so scripts should work again.

t1m0thyj avatar Apr 03 '22 03:04 t1m0thyj

5.0.1 fixes scripts 👍 One other thing I found is that enabling night mode doesn't automatically refresh wallpaper and it stays on the current wallpaper so I need to manually refresh wallpaper. I think that before this was done automatically when enabling night mode.

dlackovic2 avatar Apr 03 '22 14:04 dlackovic2

@dlackovic2 Thanks, created a separate issue to track this.

Are the scripts working again in the Microsoft Store app for you? If so perhaps I should remove the warning about them not working there

t1m0thyj avatar Apr 04 '22 11:04 t1m0thyj

Switched back to MS Store version and scripts for changing app and system theme are working great so I assume it is safe to remove warning.

dlackovic2 avatar Apr 04 '22 14:04 dlackovic2

I have an issue too. I use the store app and worked fine for changing the theme automatically before updating. this issue happens on both pcs I have.

Goldmaster avatar Apr 05 '22 19:04 Goldmaster