wsl --install
Вниманию скачавшим мою программу hticExt фанатам и жертвам Шиндовса представляется.
Take a look if you are a fan or a victim of MustDie that happened to download my hticExt program.
Линуксовую исполняху hticExt можно запустить под Виндой 10 и выше. Самый не требовательный способ, это WSL1+Alpine. Настраивается штатными средствами, даже в версии Home.
The linux executable of hticExt can be ran on Windows 10 and higher. The least demanding way to do this is WSL1+Alpine. It requires only the built in Windows tools available even on the Home version.
1.1
Запустите PowerShell. Здесь и далее PowerShell запускается от администратора. Введите команду:
Open PowerShell. From here on out PowerShell has to be ran as an administrator. Enter command:
wsl --install
1.1.1
Если написало что опции --install нет, значит у вас старый виндовс и нужно ввести команду:
If it reported that the --install option is not available it means that your Windows version is old and you have to use the following command instead:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Если на этом месте произошла ошибка, то на этом мои полномочия всё, разбирайтесь сами. Если всё успешно, то перезагружайтесь.
If at this stage you encountered an error you'll have to figure it out on your own. Otherwise reboot.
1.2
Перезагружайтесь.
Reboot.
2.1
Скачивайте Alpine, распаковывайте и переходите в папку куда распаковали.
Download Alpine. Then unpack and go to the folder you unpacked to.
Я буду считать, что вы распаковали его в
I'll assume that you unpacked to
C:\hticExtTest\Alpine
поэтому
therefore
cd C:\hticExtTest\Alpine
2.2
Запустите Alpine.exe от администратора. Лучше из PowerShell, так сообщения можно будет прочитать.
Run Alpine.exe as administrator. It's better to run it from PowerShell, that way you'll be able to see the console messages.
.\Alpine.exe
3.1
Запустите дистрибутив Alpine.
Start the Alpine distribution.
wsl -d Alpine
3.2
Готово, можно запускать hticExt.bin из консоли в которой появилось приглашение ко вводу команд Alpine. Я предполагаю что вы в консоли перешли в папку где лежит hticExt.bin и настройки в settings.json.
Done, you are ready to launch hticExt.bin from the console that has the Alpine command prompt. I assume that you cd-ed to the folder that contains hticExt.bin and settings.json.
./hticExt.bin settings.json
3.2.1
Если оказалось что у hticExt.bin нет разрешения на исполнение, то:
If it turned out that hticExt.bin doesn't have the executable flag set then:
chmod ugo+x hticExt.bin
В дальнейшем, когда вам понадобится запустить hticExt.bin, повторите пункты 3.1 и 3.2.
Now when you need to run hticExt.bin repeat steps 3.1 and 3.2.
Если вы предпочитаете Docker, но ленитесь написать простейший Dockerfile, то вот он. Описывать установку Docker на Винду не буду, так как предполагаю, что люди предпочитающие Докер умеют это без меня.
If you prefer Docker but can't be bothered to write the simplest of Dockerfiles, here it is. I'm not gonna explain the installation of Docker on windows because people that use docker must know that already.
Dockerfile :
docker build -t hticext .
запуск / run :