Skip to content

Commit

Permalink
use edge as default browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Junhui Tong committed Jul 15, 2024
1 parent ace2665 commit 38ee1d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions frontend/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ async function updateUI(app: HTMLElement, force: boolean = false) {
if (v.startsWith('http')) {
const a = document.createElement('a')
a.href = v
a.target = '_blank'
a.textContent = v
td.appendChild(a)
} else {
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@timepp/ev",
"version": "0.1.4",
"version": "0.1.5",
"exports": "./launch.ts"
}
6 changes: 3 additions & 3 deletions launch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ async function main() {
}

const browsers = args.browser? [args.browser] :
['C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe',
'C:\\Program Files\\Microsoft\\Edge\\Application\\msedge.exe']
['C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe',
'C:\\Program Files\\Microsoft\\Edge\\Application\\msedge.exe',
'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',]
let cp: Deno.ChildProcess | null = null
for (const browser of browsers) {
console.log('trying to start browser:', browser)
Expand Down

0 comments on commit 38ee1d9

Please sign in to comment.