busted parrot
main
archive
previous
next

Вниманию скачавшим мою программу 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.

скачать Alpine download

Я буду считать, что вы распаковали его в

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 :









FROM amd64/alpine:20250108

ADD hticExt.bin /usr/local/bin/
RUN chmod ugo+rwx /usr/local/bin/hticExt.bin
WORKDIR /runtime
RUN chmod ugo+rwx -R /runtime
ENV PATH="$PATH:/runtime"
RUN echo $PATH

docker build -t hticext .










10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
docker build -t hticext .
[+] Building 3.7s (11/11) FINISHED                                                             docker:default
 => [internal] load build definition from Dockerfile                                                     0.0s
 => => transferring dockerfile: 232B                                                                     0.0s
 => [internal] load metadata for docker.io/amd64/alpine:20250108                                         2.5s
 => [internal] load .dockerignore                                                                        0.0s
 => => transferring context: 2B                                                                          0.0s
 => [internal] load build context                                                                        0.1s
 => => transferring context: 18.33MB                                                                     0.1s
 => CACHED [1/6] FROM docker.io/amd64/alpine:20250108@sha256:98bf3bfec8aad59a0dc0345546fde1bd3efd846dde  0.0s
 => => resolve docker.io/amd64/alpine:20250108@sha256:98bf3bfec8aad59a0dc0345546fde1bd3efd846ddea070662  0.0s
 => [2/6] ADD hticExt.bin /usr/local/bin/                                                                0.1s
 => [3/6] RUN chmod ugo+rwx /usr/local/bin/hticExt.bin                                                   0.2s
 => [4/6] WORKDIR /runtime                                                                               0.0s
 => [5/6] RUN chmod ugo+rwx -R /runtime                                                                  0.3s
 => [6/6] RUN echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/runtime                 0.3s
 => exporting to image                                                                                   0.1s
 => => exporting layers                                                                                  0.1s
 => => writing image sha256:461946e5711c70406177da6dc7d9275e67d8bf94f434e55463a69c1cd71132ec             0.0s
 => => naming to docker.io/library/hticext         

запуск / run :





# !/bin/bash
docker run -it  --mount src="$(pwd)",target=/runtime,type=bind --rm \
  hticext:latest \
  hticExt.bin $@