coder / code-server

VS Code in the browser
https://coder.com
MIT License
67.81k stars 5.57k forks source link

[Bug]: code-server armhf release doesn't open the specified directory on 32-bit Android device #6457

Closed AnonymousM21 closed 9 months ago

AnonymousM21 commented 12 months ago

Is there an existing issue for this?

OS/Web Information

Steps to Reproduce

  1. code-server --auth none ./style50/

Expected

The folder to be opened that is specified on running the command (Folder ./style50).

On the Browser Address Bar, the adress should be: http://localhost:8080/?folder=/root/style50

Actual

Opens the most recent used/closed folder instead of specified directory style50.

On the browser Address Bar, the adress opens http://localhost:8080/?folder=/root/cs50-learn/week_01 instead of http://localhost:8080/?folder=/root/style50

Logs

No response

Screenshot/Video

Here is the screenshot of command that I ran:

Screenshot_20230930-085615_Termux

Here is the output that opens the most recent opened/closed folder instead of the specified directory style50

Screenshot_20230930-085738_Kiwi Browser

Does this issue happen in VS Code or GitHub Codespaces?

Are you accessing code-server over HTTPS?

Notes

Thank you for help, Melaku

code-asher commented 9 months ago

Sorry this issue fell through the cracks. If you want to disable the last opened behavior you can do so with --ignore-last-opened.

AnonymousM21 commented 9 months ago

Sorry this issue fell through the cracks. If you want to disable the last opened behavior you can do so with --ignore-last-opened.

Thanks, It works now fine by adding the flag --ignore-last-opened as code-server --auth none --ignore-last-opened ./style50/.

Thanks again for help! Keep it up! :)