Cannot rename file using configuration build.files
See original GitHub issue- Version: 21.2.0
- Target: NA
The doc states that app contents can be renamed using from
and to
(#1119). However it doesn’t work:
- Setting
from
to an existing file path, andto
to the expected file path, the expected file does not exist in the asar. It seemsfrom
is still considered as a directory path, since the FileMatcher contains**/*
inpatterns
. Maybeglob
doesn’t return anything now, while when you implemented this feature it returned the original path? - Not setting
from
, but instead settingfilter
to["<file path>"]
, actually creates a directory at the expected file path, containing a hierarchy of dirs and finally a unique file, with the original name. - Setting
from
to the file’s directory, and setting the filename infilter
, does the same as point 2 expect the file is directly in the directory.
There’s no explanations in the doc, so I have no other ideas. Can you please check the feature is working as intended, and if so, give some more details?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:13
Top Results From Across the Web
Cannot rename files from within sandbox - Stack Overflow
When I create a folder, and then a file within that folder, I can rename that file even from within the sandbox. But...
Read more >The File or Folder does not exist, Unable to move or rename in ...
If when you try to move or rename files or folders on your Windows computer, you cannot move or rename files or folders,...
Read more >Problem creating/renaming a folder on a network share with ...
Nature of problem: When I create a new folder on a share (e.g. \\contososerver\Company) that is hosted on Windows Server 2012 R2 running...
Read more >Cannot rename files from SB in Win10 - Sophos Community
When I create a folder, and then a file within that folder, I can rename that file. But I see no difference in...
Read more >Rename or Move files in GIT - Aram Koukia
Problem. In your Git working directory, you wish to rename a previously committed file named mycoolclass.cs to myCoolClass.cs and commit the newly renamed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes it is.
Of course it is still relevant, you haven’t even replied.