Skip to content

Commit b2117cf

Browse files
committed
Change download location to releases
1 parent 52b6569 commit b2117cf

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ yarn-error.log*
4141
next-env.d.ts
4242
public/data/index.json
4343
public/data/skyboxManifest.json
44+
/assets

app/skyboxes/[slug]/skybox-client.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,17 @@ export default function SkyboxClient({ slug, skyboxData, previewCount }: SkyboxC
8181
</div>
8282
</div>
8383
<div className="flex flex-col sm:flex-row gap-3 w-full md:w-auto">
84+
85+
{/* Source engine download
86+
87+
https://github.com/Jacobdeanr/Source_Skyboxes_NextJS/releases/download/assets/sky_cloudy005.tgd
88+
89+
90+
*/}
8491
{Object.values(downloads).map((d) => (
8592
<DownloadButton
8693
key={d.file}
87-
href={withBase(`/skyboxes/${slug}/downloads/${d.file}`)}
94+
href={`https://github.com/Jacobdeanr${withBase(`/releases/download/assets/${d.file}`)}`}
8895
format={d.format}
8996
size={d.size}
9097
className="flex-1 sm:flex-none"

0 commit comments

Comments
 (0)