t1m0thyj / WDD-scripts

PowerShell scripts that add features to WinDynamicDesktop
87 stars 19 forks source link

PoweShell scripts not working after updating to 5.0.0 (UWP) #16

Open dlackovic2 opened 2 years ago

dlackovic2 commented 2 years ago

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

t1m0thyj commented 2 years ago

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

dlackovic2 commented 2 years ago

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.

t1m0thyj commented 2 years ago

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

dlackovic2 commented 2 years ago

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 commented 2 years ago

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.

JulienMaille commented 2 years ago

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

t1m0thyj commented 2 years ago

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

adoginspace commented 2 years ago

Still not working for me

JulienMaille commented 2 years ago

I do confirm

t1m0thyj commented 2 years ago

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

dlackovic2 commented 2 years ago

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.

t1m0thyj commented 2 years ago

@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

dlackovic2 commented 2 years ago

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.

Goldmaster commented 2 years ago

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.