diff --git a/docs/_config.yml b/docs/_config.yml index d944b665..48d8caa1 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -56,6 +56,6 @@ exclude: - manual/common/gui_common_ja.md - manual/common/gui_knob_en.md - manual/common/gui_knob_ja.md -- manual/common/macos_warning_en.md -- manual/common/macos_warning_ja.md +- manual/common/package_en.md +- manual/common/package_ja.md - rewrite/README.md diff --git a/docs/build.py b/docs/build.py index a9e28103..cc831710 100644 --- a/docs/build.py +++ b/docs/build.py @@ -15,7 +15,7 @@ def load(name, lang): return text names = [ - "macos_warning", + "package", "contact_installation_guiconfig", "gui_common", "gui_barbox", @@ -33,6 +33,9 @@ def extractVersion(url): mt = re.search(r"(\d+\.\d+\.\d+)\.zip", url) return mt.groups()[0] +def insertString(source, index, substitute): + return f"{source[:index]}{substitute}{source[:index]}" + def loadManualJson(manual_dir, dest): manual = manual_dir.name with open(manual_dir / Path(f"{manual}.json"), "r", encoding="utf-8") as fi: @@ -51,7 +54,13 @@ def loadManualJson(manual_dir, dest): } for plugin, src in full_data.items(): dest[manual]["latest_version"][plugin] = src["latest_version"] - dest[manual]["latest_download_url"][plugin] = src["urls"]["plugin_url"][0] + + plugin_url = src["urls"]["plugin_url"][0] + dest[manual]["latest_download_url"][plugin] = { + "full": plugin_url, + "macOS": insertString(plugin_url, plugin_url.rfind(".zip"), "_macOS"), + } + dest[manual]["preset_download_url"][plugin] = src["urls"]["preset_url"] dest[manual]["old_download_link"][plugin] = [{ diff --git a/docs/manual/BasicLimiter/BasicLimiter.json b/docs/manual/BasicLimiter/BasicLimiter.json index 67238555..e07d2b3f 100644 --- a/docs/manual/BasicLimiter/BasicLimiter.json +++ b/docs/manual/BasicLimiter/BasicLimiter.json @@ -1,8 +1,9 @@ { "BasicLimiter": { - "latest_version": "0.1.11", + "latest_version": "0.1.12", "urls": { "plugin_url": [ + "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.50.0/BasicLimiter_0.1.12.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.46.0/BasicLimiter_0.1.11.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.45.0/BasicLimiter_0.1.10.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.37.0/BasicLimiter_0.1.9.zip", @@ -15,6 +16,14 @@ "preset_url": "https://github.com/ryukau/VSTPlugins/releases/download/BasicLimiterAndFDN64Reverb/BasicLimiterPresets.zip" }, "changelog": { + "0.1.12": { + "en": [ + "Added to `virtual` to destructor of common components. This may prevent some cause of crash or memory leak." + ], + "ja": [ + "クラッシュやメモリリークを防ぐため、共通コンポーネントのデストラクタに `virtual` を追加。" + ] + }, "0.1.11": { "en": [ "Updated VST 3 SDK to version 3.7.6. This also fixes the crash when opening multiple GUI of same plugin on Linux." @@ -92,9 +101,10 @@ } }, "BasicLimiterAutoMake": { - "latest_version": "0.1.11", + "latest_version": "0.1.12", "urls": { "plugin_url": [ + "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.50.0/BasicLimiterAutoMake_0.1.12.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.46.0/BasicLimiterAutoMake_0.1.11.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.45.0/BasicLimiterAutoMake_0.1.10.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.37.0/BasicLimiterAutoMake_0.1.9.zip", @@ -106,6 +116,14 @@ "preset_url": "" }, "changelog": { + "0.1.12": { + "en": [ + "Added to `virtual` to destructor of common components. This may prevent some cause of crash or memory leak." + ], + "ja": [ + "クラッシュやメモリリークを防ぐため、共通コンポーネントのデストラクタに `virtual` を追加。" + ] + }, "0.1.11": { "en": [ "Updated VST 3 SDK to version 3.7.6. This also fixes the crash when opening multiple GUI of same plugin on Linux." diff --git a/docs/manual/BasicLimiter/BasicLimiter_en.html b/docs/manual/BasicLimiter/BasicLimiter_en.html index 5a433233..a39256da 100644 --- a/docs/manual/BasicLimiter/BasicLimiter_en.html +++ b/docs/manual/BasicLimiter/BasicLimiter_en.html @@ -5,7 +5,7 @@ - + BasicLimiter_en