-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Command-line installation of extension fails #332
Comments
As I wrote in my initial message, I simply downloaded the tar.gz file from the GitHub release page. This is crucial because the goal is to to make a zip file containing Codium (in "portable mode"), the extension and some other software all in one folder for easy distribution. |
I have discovered the problem - the executable file "codium" in the root directory of the program does not support the command line interface, it can only invoke the GUI of the program. Expalnation: The Visual Studio Code is an electron based program, if it want to receive any argument from command line, a special argument must be passed in first, and if you look at the Command Line Interface "codium.bat" for Windows platform, you will discover this:
The "%~dp0..\resources\app\out\cli.js" is the special argument I mentioned, which implements the command line interface. |
Yep, |
@PatrickMassot You should use the command |
I can confirm this works here. Thanks for investigating! I guess that properly fixing this issue would be difficult so you can only document this quirk somewhere in the installation instructions (next to the place you should really warn people that the |
Describe the bug
Running
codium --install-extension ...
doesn't seem to do anything, it launches VScodium without installing anything.Please confirm that this problem is VSCodium-specific
Please confirm that the issue/resolution isn't already documented
To Reproduce
Steps to reproduce the behavior:
./codium --install-extension jroesch.lean
Expected behavior
VScodium should install the extension and quit.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: