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 }));
|
||||
}
|
||||
|
||||
function openRepo(): void {
|
||||
window.location.assign("https://repo.andraxion.net/");
|
||||
}
|
||||
|
||||
function WorldshaperLauncher() {
|
||||
const [launchState, setLaunchState] = useState<LaunchState>("resolving");
|
||||
const [status, setStatus] = useState("Preparing Worldshaper Studio...");
|
||||
|
|
@ -215,6 +219,9 @@ function WorldshaperLauncher() {
|
|||
<button type="button" className="launcher-secondary-btn" onClick={handleOpenHere} disabled={isBusy}>
|
||||
Open In This Tab
|
||||
</button>
|
||||
<button type="button" className="launcher-secondary-btn" onClick={openRepo} disabled={isBusy}>
|
||||
Open Repo
|
||||
</button>
|
||||
</div>
|
||||
) : null}
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue