mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
ebrowser 1.0.29
This commit is contained in:
parent
9acd6f4a24
commit
052cb9dad1
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{"version":"1.0.28",
|
{"version":"1.0.29",
|
||||||
"name": "ebrowser",
|
"name": "ebrowser",
|
||||||
"description": "The keyboard-friendly minimal suckless web browser",
|
"description": "The keyboard-friendly minimal suckless web browser",
|
||||||
"main": "webview.js",
|
"main": "webview.js",
|
||||||
|
|
|
@ -53,8 +53,8 @@ fs.readFile(path.join(__dirname,'redirect.json'), 'utf8', (err, jsonString) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
async function createWindow () {
|
async function createWindow () {
|
||||||
let json = await fs.promises.readFile(path.join(__dirname,'uas.json'), 'utf8');
|
|
||||||
try {
|
try {
|
||||||
|
let json = await fs.promises.readFile(path.join(__dirname,'uas.json'), 'utf8');
|
||||||
useragents = JSON.parse(json);
|
useragents = JSON.parse(json);
|
||||||
} catch (e){console.log(e)}
|
} catch (e){console.log(e)}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue