LinSoftWin / Photoshop-CC2022-Linux

Installer from Photoshop CC 2021 to 2022 on linux with a GUI
BSD 3-Clause "New" or "Revised" License
894 stars 51 forks source link

Added caching to the downloaded files #99

Closed Shaarigan closed 1 year ago

Shaarigan commented 1 year ago

Hello,

I changed your script in order to provide caching for downloaded files. This will provide a solution to have the script run offline from an USB stick or something. I also had some trouble sometimes with the script showing errors (all my fault btw.) and it started to download everything again on relaunch.

Add it or leave it, I think it is useful and people can delete those files afterwards if they need to

MiMillieuh commented 1 year ago

It's an intended feature to delete the files after it's installed for the following reasons :

I might add it later but that's not a priority and not something I would deal with now especially since CC login without APIs and stuff like that is already hard to do so caching a download maybe encrypting it would fix that issue.

I keep it in mind.

Thanks for your contribution !

Shaarigan commented 1 year ago

I did that for myselfe in the first place to put a "works for me on my system" copy onto an USB stick since I had to setup the same Linux distro over and over again (for reasons of issues with the hardware however) and so I saved a lot of time with not downloading 1.5 GB on the machine.

Of course its just a suggestion 😄

MiMillieuh commented 1 year ago

Yeah I totally understand the issue you're trying to fix, of course you can use it by yourself, but in the direction I'm taking it might cause issues so I'll implement it maybe soon when I'll be done with the Login.

But nice work just use your script if it helps you with your situation :)

By the way just let this pull request open, I'll merge it when it will be ready !