-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development mode inside profile folder #15
Comments
…dir if it doesn't exist (2h)
From a technical perspective I don't see why not. It's probably not a good ides to use the I wouldn't do it, though. The profile dir is Firefox' to manage and Firefox could always decide to delete unexpected stuff in there. Regarding your error, I just fixed an infinite recursion when changing between valid local folders, but that doesn't seem to be your problem. |
Wouldn't that also give reStyle an ability to create the folder on user's behalf?
The could be said for the whole Either way, I'll retry this later today. |
reStyle currently won't create the folder in the default location (as that wasn't the users choice), but if the path is changed and doesn't exist, it will now be created (regardless of where is is, as long as the user has access to that location). So now you can use local files without ever opening a file explorer (reStyle could already open the files in the native editor).
Not quite. We are talking about the primary source location of styles here. You wouldn't want to loose that. No data would be lost if Firefox clears the
Not quite sure what you mean, but the |
I meant that reStyle could just create Could you explain the reasoning for not using a folder in the extension files again? I did not quite get that. |
I don't think that using
Sure. Here is why I wouldn't place the folder with the local styles inside Firefox' profile folder:
Try linking something inside the Besides that, I don't think it belongs in there. The set of user styles you create is not associated with a single Firefox profile. If you want to use only a subset of your styles in a given profile, you can use the exclude filter. The files automatically placed in the That said, you are of cause free to put your local folder in the profile. It works, but be prepared for Firefox deleting it (if not now, then maybe later). |
Thanks for the explanation. Reason for suggesting to use Also, what is the plan for when an online resource goes down, but the style works fine? |
I still don't understand why reStyle would even try to create any files. You are talking about an error right after changing the path in the textbox I took the screenshot of above, right?
Currently it will simply stay as it is and be loaded from an internal copy. Updates will obviously fail, which will cause a notification at the time of the auto update. There is currently no way to disable the update check for individual styles, and reStyle doesn't handle the
As in, make sure they aren't lost should Firefox ever clear the |
No, I just tried to create a style with the browser button after changing the path.
That sounds reasonable. |
Ok, that makes a lot more sense.
Are you using Linux, where the profile is in |
That error gets thrown when the installation of a remote style fails (URL to To create a new local style, use the "Create new style" button (which uses the information of the current tab to populate the template). I admit that the placement of both buttons underneath the textbox may be misleading. |
Oops, I indeed did do that. Everything works fine now, inside profile or not so I guess it's time to close this issue. |
Could I use a development mode folder inside the Fx profile folder? It would keep things consistent and contained.
Right now I get a "That didn't work... / Error: Can't create file..." popup, followed by the typical restart prompt (and no new style after the restart).
To give more information:
dev
The text was updated successfully, but these errors were encountered: