Add repo link to launcher
This commit is contained in:
parent
932a638daf
commit
2ad785f65d
1 changed files with 7 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ function openStudioInCurrentTab(worldId: string): void {
|
||||||
window.location.assign(buildWorldshaperStudioUrl(worldId, window, { worldId }));
|
window.location.assign(buildWorldshaperStudioUrl(worldId, window, { worldId }));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function openRepo(): void {
|
||||||
|
window.location.assign("https://repo.andraxion.net/");
|
||||||
|
}
|
||||||
|
|
||||||
function WorldshaperLauncher() {
|
function WorldshaperLauncher() {
|
||||||
const [launchState, setLaunchState] = useState<LaunchState>("resolving");
|
const [launchState, setLaunchState] = useState<LaunchState>("resolving");
|
||||||
const [status, setStatus] = useState("Preparing Worldshaper Studio...");
|
const [status, setStatus] = useState("Preparing Worldshaper Studio...");
|
||||||
|
|
@ -215,6 +219,9 @@ function WorldshaperLauncher() {
|
||||||
<button type="button" className="launcher-secondary-btn" onClick={handleOpenHere} disabled={isBusy}>
|
<button type="button" className="launcher-secondary-btn" onClick={handleOpenHere} disabled={isBusy}>
|
||||||
Open In This Tab
|
Open In This Tab
|
||||||
</button>
|
</button>
|
||||||
|
<button type="button" className="launcher-secondary-btn" onClick={openRepo} disabled={isBusy}>
|
||||||
|
Open Repo
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue