Skip to content

Commit 38ee1d9

Browse files
author
Junhui Tong
committed
use edge as default browser
1 parent ace2665 commit 38ee1d9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

frontend/ui.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ async function updateUI(app: HTMLElement, force: boolean = false) {
7474
if (v.startsWith('http')) {
7575
const a = document.createElement('a')
7676
a.href = v
77+
a.target = '_blank'
7778
a.textContent = v
7879
td.appendChild(a)
7980
} else {

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "@timepp/ev",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"exports": "./launch.ts"
55
}

launch.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ async function main() {
1818
}
1919

2020
const browsers = args.browser? [args.browser] :
21-
['C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
22-
'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe',
23-
'C:\\Program Files\\Microsoft\\Edge\\Application\\msedge.exe']
21+
['C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe',
22+
'C:\\Program Files\\Microsoft\\Edge\\Application\\msedge.exe',
23+
'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',]
2424
let cp: Deno.ChildProcess | null = null
2525
for (const browser of browsers) {
2626
console.log('trying to start browser:', browser)

0 commit comments

Comments
 (0)