Skip to content

Commit

Permalink
Merge pull request #71 from Wopslang/installer
Browse files Browse the repository at this point in the history
added installer for Windows
  • Loading branch information
redocmath authored Apr 3, 2024
2 parents 4d302f9 + 377dadf commit 0428387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 50 deletions.
53 changes: 3 additions & 50 deletions doc/howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

It is a document containing how to install Wops. If you find an unexpected error during installation, check the installation order again and ask for help if the error continues to appear.

## Ubuntu OS
## Linux

1. Open a Terminal.
2. Install 'gcc', 'g++' and 'make', using the `apt` command:
Expand Down Expand Up @@ -41,53 +41,6 @@ Done!

## Windows OS

1. Install Git Bash
Use Windows Installer provided in [here](../installer/wopsinstaller.exe).

- English: https://git-scm.com/downloads

- Korean: https://xangmin.tistory.com/102

2. Install gcc

- English: https://dev.to/gamegods3/how-to-install-gcc-in-windows-10-the-easier-way-422j
- Korean: https://jeunna.tistory.com/entry/Windows-gcc-g-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0-MinGW

- if "the file has been downloaded incorrectly" error occurred, check [this website](https://suji-choi.tistory.com/34)

3. Install make

- English: https://www.stanleyulili.com/git/how-to-install-git-bash-on-windows/

- Korean: https://ndb796.tistory.com/381

4. Clone our project repository

```bash
git clone https://github.com/Wopslang/Wops.git
```

5. Use this command in Git Bash to build and make executable interpreter:

```bash
bash build.sh
```

![image](https://user-images.githubusercontent.com/74172008/148321362-b722b387-5fb0-4795-8aab-8dfb984fcf90.png)

Done!

## To run

The library file(`library.so`) should be placed in the path `${ExecutableFilePath}/lib/library.so`.

- Windows
```bash
./Wopslang.exe <file directory>.wops
```

- Others
```bash
./Wopslang <file directory>.wops
```

2023, Wops Team
2024, Wops Team
Binary file added installer/wopsinstaller.exe
Binary file not shown.

0 comments on commit 0428387

Please sign in to comment.