Open shafschwd opened 3 years ago
+1 to idea, but... besides placing website/readme.md, this method needs more testing because there is a little issue with installing of (and I'll describe it here as the title best fit): ScreenToGif doesn't seem to save user configuration between its launching. Scoop makes two things:
~\scoop\apps\screentogif\current
to actual app version folder (as of writing 2.36), that's OK;~\scoop\apps\screentogif\current\Settings.xaml
is hardlinked to ~\scoop\persist\screentogif\Settings.xaml
that is a culprit!
As a workaround to restore saving of settings: break this hardlink (specifically: replace with symlink to persistent dir).I am writing a parallel issue on extras bucket github repo issues. Here for anybody wanting to instant solution.
I'm not able to reproduce the above issue. My settings are saved as they should. Also, in both the the cases, the link is a hardlink. Scoop does not create symlinks.
OK. In my case, two discrete machines have the same behavior.
I've just made another test and have a suspicion:
After standard installation by scoop, the file Settings.xaml
has 0 bytes (empty, of course).
But when this file is not existing, ScreenToGif creates one on first launch with such content:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"></ResourceDictionary>
So existing an empty file (with no structure) prevents from making new default file.
Is the default settings file available somewhere in this repo? We can use it instead of creating a new (blank) settings file.
Nope, installation scoop just downloads portable edition of app, then extracts it and creates it's file structure (links files and folders in few places). I'm a newbie in scoop configs, but maybe there is possibility to fill up file with correct/required content, right after creation.
maybe there is possibility to fill up file with correct/required content, right after creation.
Yep, that's what I'm saying
You asked if there is a file, but I'm saying there is no such file. So I came up with ScreenToGif ability to fill an empty file with correct structure:
I'm not sure I follow, how will you ask Screentogif to create the file while it's installing?
OK, so the simplest way of my understanding... Two alternative solutions I'm imaging:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"></ResourceDictionary>
. Here installation is finishedThe first method sounds elegant. Can you make a PR for it?
add scoop as installation method on website and on readme.md https://github.com/lukesampson/scoop-extras/blob/master/bucket/screentogif.json
Scoop is a command-line installer for Windows