Skip to content

Commit

Permalink
Fix: URLを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Feb 18, 2024
1 parent e8f7407 commit 6e466f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build/downloadMobileAssets.mts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ switch (process.platform) {
}
}
const sevenZip = path.resolve(__dirname, "vendored", "7z", sevenZipCommand);
type Release = {
tag_name: string;
assets: { name: string; browser_download_url: string }[];
};
// type Release = {
// tag_name: string;
// assets: { name: string; browser_download_url: string }[];
// };

const downloadAndCompressModel = async () => {
const modelZipPath = path.resolve(
Expand All @@ -54,8 +54,8 @@ const downloadAndCompressModel = async () => {
// const releasesJson = (await releases.json()) as Release[];
// const latestRelease = releasesJson[0];
const latestRelease = await fetch(
"https://api.github.com/repos/voicevox/voicevox_core/releases/0.15.0-preview.16"
).then((r) => r.json())
"https://api.github.com/repos/voicevox/voicevox_core/releases/132287182"
).then((r) => r.json());
const modelUrl = latestRelease.assets.find((asset) =>
asset.name.startsWith("model-")
)?.browser_download_url;
Expand Down

0 comments on commit 6e466f7

Please sign in to comment.