Skip to content
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

unzip to same directory as zip ? #4

Open
jhjulkun opened this issue May 16, 2017 · 2 comments
Open

unzip to same directory as zip ? #4

jhjulkun opened this issue May 16, 2017 · 2 comments

Comments

@jhjulkun
Copy link

At least in the windows version it seems you can't extract into the same directory as where the zip file is ?

In my case it would make more sense than having a new directory for unzipped files.

Thanks

@FortuneN
Copy link
Owner

I'm looking into it. stand by

@jhjulkun
Copy link
Author

I made a quick & dirty hack to unzip into the same directory.
The hack will obviously not work if you DO want to have a subdirectory for unzipped contents.

In FiNeZeep.cs:43:
private static async Task unzipImpl(object[] args)
...
// hack StorageFolder toFolder = await toParentFolder.CreateFolderAsync(Path.GetFileName(to
Path), CreationCollisionOption.OpenIfExists);
StorageFolder toFolder = await StorageFolder.GetFolderFromPathAsync(toParentPath);
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants