xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
954 stars 83 forks source link

[Request][Out of scope] Firefox from Windows Store and Scoop. #120

Closed Sei-lus closed 2 years ago

Sei-lus commented 2 years ago

Hello.

I did read your readme.

Feel free to disregard this request. But I wanted to point my experience with non regular firefox install methods.

  1. Windows Store doesn't allow to modify the core files of apps installed from it. So I can't add the required files there, and it will probably erase them upon updating firefox.
  2. Scoop uses a update model where it update all core files like new and only some files persist. In Scoop case I avoid updating firefox for the .js to persist.

Is there a way your work could be installed in another type of folder, like for example appdata?

I'll raise the concern on scoop too but I felt like I should also ask here since there is the windows store install method too that is a problem.

Sei-lus commented 2 years ago

@tomrittervg

Decided to do a shout out to Tom, because maybe this option to customize the location for Xiaoxiao files could be added by Mozilla directly. Hope the mention works.

tomrittervg commented 2 years ago

I got it; but I am skeptical we could or would do anything. The Windows Store mechanism is probably outside our control. If you do identify what would need to be changed you could propose a patch...

xiaoxiaoflood commented 2 years ago

chrome folder can be changed, but that's probably not what you want because you already can set your profile folder anywhere,

The path for files that must be placed into installation-folder is hard-coded, so no way.

Sei-lus commented 2 years ago

Well regarding Scoop they came with a solution: https://github.com/ScoopInstaller/Extras/issues/8016 https://github.com/ScoopInstaller/Extras/pull/8017

Only missing a Microsoft store solution but to be honest, I don't see one happening. Feel free to close Xiao, thank you Tom.

Sei-lus commented 2 years ago

@tomrittervg but regarding a patch of sorts... If Microsoft can be enticed to add a folder somewhere like appdata/roaming (or whatever) where added files get taken and installed when microsoft store apps get installed or update (sort like scoop solution) that would be nice. On the other hand, what makes me go to microsoft store to begin with is the way they sandbox apps so it needs to be something a bit more delicate maybe?

It would need to be something within the user store account as to not make this exploitable. I don't know, I'm daydreaming, at least I got scoop.