File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ document.addEventListener("DOMContentLoaded", () => {
114114
115115 updateStatus ( "Compressing files..." ) ;
116116 const content = await zip . generateAsync ( { type : "blob" } ) ;
117- saveAs ( content , `${ path ? path . replace ( / \/ | % 2 0 / g, "-" ) : repo } .zip` ) ;
117+ saveAs ( content , `${ path ? repo + '_' + path . replace ( / \/ | % 2 0 / g, "-" ) : repo } .zip` ) ;
118118
119119 const fileList = zip . file ( / .* / ) ;
120120
121121 updateProgress ( 0 ) ;
122122 updateStatus (
123- `Fetched ${ fileList . length } files\nUser: ${ owner } \nRepository: https://github.com/ ${ owner } /${ repo } \nFolder: ${ path } \nSize: ${ (
123+ `Fetched ${ fileList . length } files\nUser: ${ owner } \nGithub Repository: ${ owner } /${ repo } \nFolder: ${ path } \nSize: ${ (
124124 content . size /
125125 1024 /
126126 1024
You can’t perform that action at this time.
0 commit comments