Skip to content

Commit 48b94ce

Browse files
committed
Актуализирована информация по установке для readme
1 parent 67bd589 commit 48b94ce

File tree

2 files changed

+28
-38
lines changed

2 files changed

+28
-38
lines changed

README-EN.md

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,23 @@ The OneScript distribution already includes a set of the most commonly used pack
3434

3535
### Linux ###
3636

37-
- (interactively) download the required package from the [official website](https://oscript.io) or installer from the [Releases](https://github.com/EvilBeaver/OneScript/releases) section and install it.
37+
- Download the ZIP archive for Linux from the [Releases](https://github.com/EvilBeaver/OneScript/releases) section or from the [official website](https://oscript.io).
38+
- Extract the archive to a convenient directory.
39+
- Set executable permissions:
40+
```bash
41+
chmod +x oscript
42+
```
3843

3944
### MacOS ###
4045

41-
There is no interactive installer, but the engine can be installed from the command line:
42-
43-
- install [homebrew](https://brew.sh/index_ru)
44-
- install mono with the command `brew install mono`
45-
- download [ovm](https://github.com/oscript-library/ovm/releases). Download the `ovm.exe` file (despite the .exe extension it will work on MacOS)
46-
- run the command `mono path/to/ovm.exe install stable`
47-
48-
*Tip: To correctly specify the path to `ovm.exe`, drag the `ovm.exe` file into the terminal. Example of a full command: `mono Users/username/Downloads/ovm.exe install stable`*
49-
- run the command `mono path/to/ovm.exe use stable`
50-
- restart the terminal
51-
52-
#### Additional configuration for Self-Contained distribution (does not require dotnet installation)
53-
54-
```
55-
chmod +x ./oscript
56-
xattr -d com.apple.quarantine *.dylib oscript
57-
codesign -s - ./oscript
58-
```
46+
- Download the ZIP archive for macOS (x64 or arm64) from the [Releases](https://github.com/EvilBeaver/OneScript/releases) section or from the [official website](https://oscript.io).
47+
- Extract the archive to a convenient directory.
48+
- Perform additional configuration to remove quarantine and sign the binary:
49+
```bash
50+
chmod +x ./oscript
51+
xattr -d com.apple.quarantine *.dylib oscript
52+
codesign -s - ./oscript
53+
```
5954

6055

6156
# Manual local build

README.md

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,23 @@ OneScript позволяет создавать и выполнять текст
3434

3535
### Linux ###
3636

37-
- (интерактивно) скачать нужный пакет [официального сайта](https://oscript.io) или установщик из раздела [Releases](https://github.com/EvilBeaver/OneScript/releases) и установить его.
37+
- Скачать ZIP-архив для Linux со [страницы релизов](https://github.com/EvilBeaver/OneScript/releases) или с [официального сайта](https://oscript.io).
38+
- Распаковать архив в удобный каталог.
39+
- Установить права на выполнение:
40+
```bash
41+
chmod +x oscript
42+
```
3843

3944
### MacOS ###
4045

41-
Интерактивного установщика нет, но движок можно установить из командной строки:
42-
43-
- установить [homebrew](https://brew.sh/index_ru)
44-
- установить mono командой `brew install mono`
45-
- скачать [ovm](https://github.com/oscript-library/ovm/releases). Скачать файл `ovm.exe` (несмотря на расширение .exe он сработает на MacOS)
46-
- выполнить команду `mono path/to/ovm.exe install stable`
47-
48-
*Совет: Чтобы корректно указать путь до `ovm.exe` перенесите мышкой файл `ovm.exe` в терминал. Пример полной команды: `mono Users/username/Downloads/ovm.exe install stable`*
49-
- выполнить команду `mono path/to/ovm.exe use stable`
50-
- перезапустить терминал
51-
52-
#### Донастройка Self-Contained варианта поставки (не требующего инсталляции dotnet)
53-
54-
```
55-
chmod +x ./oscript
56-
xattr -d com.apple.quarantine *.dylib oscript
57-
codesign -s - ./oscript
58-
```
46+
- Скачать ZIP-архив для macOS (x64 или arm64) со [страницы релизов](https://github.com/EvilBeaver/OneScript/releases) или с [официального сайта](https://oscript.io).
47+
- Распаковать архив в удобный каталог.
48+
- Выполнить донастройку для снятия карантина и подписи:
49+
```bash
50+
chmod +x ./oscript
51+
xattr -d com.apple.quarantine *.dylib oscript
52+
codesign -s - ./oscript
53+
```
5954

6055

6156
# Ручная локальная сборка

0 commit comments

Comments
 (0)