Skip to content

Commit 6afc38c

Browse files
committed
Make Refresher copy go.lbpbonsai.com links by default
1 parent edcff96 commit 6afc38c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Refresher/UI/PipelineForm.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,12 @@ private void OnCopyJoinKeyClick(object? sender, EventArgs e)
443443
.First();
444444

445445
string key = control.Text;
446+
447+
if((Keyboard.Modifiers & Keys.Shift) != 0 || (Keyboard.Modifiers & Keys.Control) != 0)
448+
Clipboard.Instance.Text = $"refresher://join/{this._pipeline.ShorthandUrlId}?{key}";
449+
else
450+
Clipboard.Instance.Text = $"https://go.lbpbonsai.com/join/{this._pipeline.ShorthandUrlId}?{key}";
446451

447-
Clipboard.Instance.Text = $"refresher://join/{this._pipeline.ShorthandUrlId}?{key}";
448452
MessageBox.Show("Copied!", "Success");
449453
}
450454

0 commit comments

Comments
 (0)