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 portable app using a random folder to decompress the application #4105
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
But do someone have a work round to fix this? |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
… to each portable app launch) when set explicitly to false. Implements electron-userland#5764, electron-userland#5382, electron-userland#4105
just for information and easy use: |
this introduces another problem if your application need firewall exceptions. windows will treat the app as new app each start. that sucks.. sry |
Using build script below to build a windows portable app with some extraResources
It will success build the
App.exe
.But if the App.exe is large , the decompress will take long time. At this time, if user trying to double click for relaunch the App, it will throw file not find errors.
After some investigation, we found it caused by
unpackDirName
value in exectron-builder source code .in
NisiTarget.ts
It used a fixed location to decompress the application.
User trying to double click several times for relaunch the app, this time some folder may be removed during the decompress process. so the app will throw file not found error.
Can we use a random folder to decompress the application so that the file will not dropped in that case?
The text was updated successfully, but these errors were encountered: