-
Notifications
You must be signed in to change notification settings - Fork 410
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
wasm-pack-init (1).exe does not show init instructions #518
Comments
@Mblkolo can you say more about how you are installing |
@ashleygwilliams, i download https://github.com/rustwasm/wasm-pack/releases/download/v0.5.1/wasm-pack-init.exe after few day i download latest version https://github.com/rustwasm/wasm-pack/releases/download/v0.6.0/wasm-pack-init.exe It look like this in my chrome browser: I reproduction this issue with powershell commands:
|
I have also noticed this issue. If "x.exe" is downloaded twice, the second download is saved as "x (1).exe" in Chrome and "x(1).exe" in Firefox. In both cases, the EXE stem is not exactly "wasm-pack-init". So, due to this line, the installer script is not run. |
@Mblkolo @danwilhelm out of curiosity...
i'm curious why you didn't choose Y? if Y is chosen it will overwrite and not append the (1) to the file name. i think we expect this to be the default user behavior. i'd love to understand why you chose N so we can improve the installer! |
@ashleygwilliams, you misunderstood me. Sorry my english. With the script, I just demonstrated that the wasm-pack-init (1).exe does not run in install mode. Until I rename it to wasm-pack-init.exe. I solved this problem for me and updated the wasm-pack even before writing this issue. See #518 (comment) , to solve problem for all. |
@ashleygwilliams As @Mblkolo said, the issue is that the installer code often doesn't run. There are many reasonable cases where the downloaded file is not named exactly @Mblkolo suggested to change this line to test whether the filename begins with |
@danwilhelm or @Mblkolo - i've started a branch in #550 with a solution to this- i'm not entirely sure what if any way we should test it- could one of you test it manually for now and/or leave your comments on the PR? thanks so much! |
When i download new version wasm-pack, my browser saved it as wasm-pack-init (1).exe.
wasm-pack-init (1).exe does not show init instructions and work as wasm-pack.exe
Maybe run all the files with name start from "wasm-pack-init" as init-file?
The text was updated successfully, but these errors were encountered: