-
Notifications
You must be signed in to change notification settings - Fork 36
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
Can modify the template suffix? #124
Comments
It will be also interesting to know when the templates are deleted. Does it happen randomly? |
Well, when I try to use the tool to clean up junk files of C drive as well as cache files, the files with tmpl suffix are also in the cleanup items. Like a tool named
|
TBH I'd rather tend to say that you should open a bug on the Dism++ repo. It clearly deletes something which is not a temporary file. |
I'm guessing that at some point the tmpl suffix might be recognized as a suffix like tmp, or the tmpl suffix would have been in the cleanup list. Because every time I clean up the junk files, the template files are lost. |
You could make an easy test, just creating a couple of tmpl files in some folder (maybe on the same level of the vs code extension), run Dism++ and check whether they are delete or not. |
You don't need to use Dism++, the script I wrote above will do it😂😂 |
Well probably you should first clarify which one of them deletes the files... shouldn't you? |
All, but scripts are a relatively simple way to reproduce. |
The script you sent, deletes from several places. What I suggest is to isolate the instruction which deletes the template files. I cannot do by my self because I'm under linux. |
okey... |
I wanted to let you know about removing templates. It will happen and probably you won't struggle anymore. Yet is not clear whether it will be part of the 1.10 or 1.11. Stay tuned. This extension will be now published here |
source: https://superuser.com/a/1644933/914033 I would highly recommend rewrite your script in PowerShell and if possible and an exclusion to Dism++ to prevent deleting the extension template files. |
I mentioned an issue earlier #66 is about the case where the template folder is empty.Now I found the reason.
Since the files with the tmpl suffix resemble temporary files in Windows, they were cleaned up when I used some scripts or software to clean junk files.
I think this could be fixed by modifying the template suffix.
The text was updated successfully, but these errors were encountered: