Skip to content

Commit

Permalink
fix: prepare for major update of v4
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaku3 committed Dec 25, 2022
1 parent 9b72866 commit 13e75ca
Show file tree
Hide file tree
Showing 8 changed files with 199 additions and 191 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
👉 <a href="https://github.com/mtaku3/AutoMuteUs-Portable/blob/main/README_ja.md">日本語</a>
👉 <a href="https://github.com/mtaku3/AutoMuteUs-Portable/blob/old/README_ja.md">日本語</a>

# Portable AutoMuteUs For Windows

![GitHub all releases](https://img.shields.io/github/downloads/mtaku3/AutoMuteUs-Portable/total?label=Total%20Downloads)
![GitHub release (latest by SemVer including pre-releases)](https://img.shields.io/github/downloads-pre/mtaku3/AutoMuteUs-Portable/latest/total?label=Latest%20Downloads&sort=semver)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mtaku3/AutoMuteUs-Portable/releaser-v1)

## Important Notice

AutoMuteUs Portable is now planning to have a major update from v3 to v4. This update contains a huge architecture change so that AutoMuteUs Portable below v3.1.0 will not work since the upcoming release of v4.

## What is this?

This is portable version of [AutoMuteUs(self-hosting)](https://github.com/automuteus). So that no need to install anything.
Expand Down Expand Up @@ -61,11 +65,11 @@ If there's some trouble, try RESET Feature 👍

Required binaries will be downloaded from release of repositories below 👇

- automuteus.exe : https://github.com/AutoMuteUs-Portable/automuteus/releases
- galactus.exe : https://github.com/AutoMuteUs-Portable/galactus/releases
- wingman.exe : https://github.com/AutoMuteUs-Portable/wingman
- postgres.zip : https://github.com/AutoMuteUs-Portable/postgres/releases
- redis.zip : https://github.com/AutoMuteUs-Portable/redis/releases
- automuteus.exe : https://github.com/AutoMuteUs-Portable/old.automuteus/releases
- galactus.exe : https://github.com/AutoMuteUs-Portable/old.galactus/releases
- wingman.exe : https://github.com/AutoMuteUs-Portable/old.wingman/releases
- postgres.zip : https://github.com/AutoMuteUs-Portable/old.postgres/releases
- redis.zip : https://github.com/AutoMuteUs-Portable/old.redis/releases

postgres.zip and redis.zip will be extracted after loaded binaries.

Expand Down
14 changes: 9 additions & 5 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
![GitHub release (latest by SemVer including pre-releases)](https://img.shields.io/github/downloads-pre/mtaku3/AutoMuteUs-Portable/latest/total?label=%E6%9C%80%E6%96%B0%E7%89%88%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E6%95%B0&sort=semver)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mtaku3/AutoMuteUs-Portable/releaser-v2?label=%E3%83%93%E3%83%AB%E3%83%89)

## 重要なお知らせ

AutoMuteUs Portable は v3 から v4 のメジャーアップデートを計画しています。このアップデートではアーキテクチャの大幅な変更があるため v4 のアップデートと同時に v3.1.0 以前のバージョンは動作しなくなります。v3.1.0 以前のバージョンをご利用の方はお早めに v3.1.0 以降にアップデートするようお願いいたします。

## 概要

これは[AutoMuteUs(セルフホスト)](https://github.com/automuteus)のポータブル版です。 そのためインストールは不要です。
Expand Down Expand Up @@ -68,11 +72,11 @@ note に図解付き徹底解説作成しました![こちら](https://note.co

必要なファイルは以下のレポジトリからダウンロードされます。 👇

- automuteus.exe : https://github.com/AutoMuteUs-Portable/automuteus/releases
- galactus.exe : https://github.com/AutoMuteUs-Portable/galactus/releases
- wingman.exe : https://github.com/AutoMuteUs-Portable/wingman
- postgres.zip : https://github.com/AutoMuteUs-Portable/postgres/releases
- redis.zip : https://github.com/AutoMuteUs-Portable/redis/releases
- automuteus.exe : https://github.com/AutoMuteUs-Portable/old.automuteus/releases
- galactus.exe : https://github.com/AutoMuteUs-Portable/old.galactus/releases
- wingman.exe : https://github.com/AutoMuteUs-Portable/old.wingman/releases
- postgres.zip : https://github.com/AutoMuteUs-Portable/old.postgres/releases
- redis.zip : https://github.com/AutoMuteUs-Portable/old.redis/releases

postgres.zip と redis.zip はダウンロード後解凍されます。

Expand Down
4 changes: 2 additions & 2 deletions Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public static void LoadRedisBinary()
using (WebClient client = new WebClient())
{
var path = Path.Combine(envPath, "redis.zip");
client.DownloadFile("https://github.com/AutoMuteUs-Portable/redis/releases/download/5.0.10/redis.zip", path);
client.DownloadFile("https://github.com/AutoMuteUs-Portable/old.redis/releases/download/5.0.10/redis.zip", path);
using (ZipFile zipFile = ZipFile.Read(path))
{
path = envPath;
Expand All @@ -427,7 +427,7 @@ public static void LoadPostgresBinary()
using (WebClient client = new WebClient())
{
var path = Path.Combine(envPath, "postgres.zip");
client.DownloadFile("https://github.com/AutoMuteUs-Portable/postgres/releases/download/12.6/postgres.zip", path);
client.DownloadFile("https://github.com/AutoMuteUs-Portable/old.postgres/releases/download/12.6/postgres.zip", path);
using (ZipFile zipFile = ZipFile.Read(path))
{
path = envPath;
Expand Down
2 changes: 1 addition & 1 deletion SettingsWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public static String CheckRVCHash()
client.Headers.Add("accept", "application/json");
client.Headers.Add("User-Agent", "request");

string downloadedString = client.DownloadString("https://api.github.com/repos/mtaku3/AutoMuteUs-Portable/contents/rvc.json");
string downloadedString = client.DownloadString("https://api.github.com/repos/mtaku3/AutoMuteUs-Portable/contents/rvc.json?ref=old");
rvc_hash = (Newtonsoft.Json.Linq.JObject)JsonConvert.DeserializeObject(downloadedString);
logger.Debug(downloadedString);
}
Expand Down
Loading

0 comments on commit 13e75ca

Please sign in to comment.