Open marchica opened 5 years ago
This should be easier than it looks like it is :(
I uninstalled the windows store instance and installed via chocolatey and it put it in another location:
C:\Program Files\Slack...
@Dzejms Awesome - thank you! Looks like the version is included in the directory name. Are there older versions? Wonder if it's enough to just check C:\Program Files\WindowsApps for *Slack*
.
Thanks for the Chocolately tip! Can check there too. Will also add a command line param for a custom location.
Feel free to make a pull request!
Pull request submitted <3
@Dzejms, thanks! Your patch for Chocolately is in master now but I haven't tested it. Let me know if you try it and it works.
Still need to add support for the Microsoft Store Slack install. Undecided about whether it should support multiple Slack installations.
InstallSlackPatch throws an error when Slack is not in the usual app data folder. Need to add a check that the folder exists before continuing.
When Slack is installed from the Microsoft Store, the files must be elsewhere. Need to find out where...