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

Where is mcedit binary file? #28

Closed
caffeine-mgn opened this issue May 16, 2022 · 9 comments
Closed

Where is mcedit binary file? #28

caffeine-mgn opened this issue May 16, 2022 · 9 comments

Comments

@caffeine-mgn
Copy link

Sometimes I need just quickly edit some file. And usually I can do it on Linux with mcedit

@adamyg
Copy link
Owner

adamyg commented May 17, 2022

mcedit is an alias for mc, aka a symlink under unix.; copy mc.exe as mcedit.exe to emulate.

@adamyg adamyg reopened this May 19, 2022
@adamyg
Copy link
Owner

adamyg commented May 19, 2022

shall modify packaging to create a mcedit.exe image from mc.exe

@AndiLeni
Copy link

AndiLeni commented Jan 6, 2023

@adamyg I tried to simply use mc myfile.txt to open the editor, but instead it opens midnightcommander in the current folder.
Is there an option to quickly open a file in mc's editor directly?

@adamyg
Copy link
Owner

adamyg commented Jan 7, 2023

shall repackage mc as mcedit in next release; waiting on 4.8.29

aka: C:/Program Files (x86)/Midnight Commander/mc.exe --> C:/Program Files (x86)/Midnight Commander/mcedit.exe

@adamyg
Copy link
Owner

adamyg commented Jan 31, 2023

build-228

@adamyg
Copy link
Owner

adamyg commented Sep 10, 2023

released

@adamyg adamyg closed this as completed Sep 10, 2023
@myfonj
Copy link

myfonj commented Feb 28, 2024

I'm unable to see any mcedit executable neither in 228 nor 229 ZIP dists, was it really released?

However, from what I have tried, creating hardlink mcedit.exe -> mc.exe with

mklink /H mcedit.exe mc.exe

seems to do the trick, so could be manual workaround for the mean time.
(As well as simply duplicating mc.exe and renaming the duplicate to mcedit.exe.)

Edit: IIUC, the duplication of mc.exe into mcedit.exe is what the installer currently does (?) So to reiterate, I was referring to content of mcwin32-build229-x64.zip and previous.

@adamyg
Copy link
Owner

adamyg commented Feb 29, 2024 via email

@myfonj
Copy link

myfonj commented Feb 29, 2024

Sure, that's the second ("duplicating") option I have mentioned. But wouldn't be better if users of ZIP archives "installations" would not have to do that and had it prepared already? Is it possible to distribute it with duplicate or even better some kind of (smaller) proxy launcher that would behave like a symlink?

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

4 participants