-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,47 @@ | ||
# mayalauncher | ||
CLI Maya launcher | ||
CLIのMayaランチャーです。 | ||
Mayaの言語やメジャーバージョンを指定して起動することができます。 | ||
|
||
# 使い方 | ||
|
||
## Goがインストールされている場合 | ||
下記コマンドでインストールしてください。 | ||
|
||
`$GOPATH/bin`(C:\Users\ユーザー名\go\bin)下に、 | ||
ビルドしたアプリがインストールされます。 | ||
``` | ||
go install github.com/Hum9183/mayalauncher@latest | ||
``` | ||
|
||
下記コマンドでMayaを起動できます。 | ||
```sh | ||
mayalauncher launch | ||
``` | ||
|
||
## Goがインストールされていない場合 | ||
1. [release](https://github.com/Hum9183/mayalauncher/releases/tag/v0.1.0)からビルド済のファイルをダウンロードする。 | ||
2. ダウンロードした.zipを解凍し、**mayalauncher.exe**を任意のディレクトリに配置する。 | ||
3. **mayalauncher.exe**を配置したディレクトリでターミナルを開く。 | ||
|
||
下記コマンドでMayaを起動できます。 | ||
```sh | ||
./mayalauncher launch | ||
``` | ||
|
||
# 言語フラグ | ||
**-language**フラグをつけると、UI言語を指定して起動できます。 | ||
```sh | ||
mayalauncher launch --language ja | ||
``` | ||
```sh | ||
mayalauncher launch -l en | ||
``` | ||
|
||
# バージョンフラグ | ||
**-version**フラグをつけると、メジャーバージョンを指定して起動できます。 | ||
```sh | ||
mayalauncher launch --version 2022 | ||
``` | ||
```sh | ||
mayalauncher launch -v 2024 | ||
``` |