Skip to content

Commit

Permalink
update electron
Browse files Browse the repository at this point in the history
  • Loading branch information
rrgeorge committed Oct 11, 2024
1 parent 4caf73e commit 968cb2c
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 125 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ var _win = null
var _dmScreen = null
var ddb
let platform = app.userAgentFallback.match(/\(([^)]+)\)/)[1]
const firefox = `Mozilla/5.0 (${platform}; rv:129.0) Gecko/20100101 Firefox/129.0`
const chrome = `Mozilla/5.0 (${platform}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36`
const firefox = `Mozilla/5.0 (${platform}; rv:129.0) Gecko/20100101 Firefox/131.0.2`
const chrome = `Mozilla/5.0 (${platform}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.178 Safari/537.36`
app.userAgentFallback = chrome
var ignored = []
var campaignChars = []
Expand Down Expand Up @@ -525,7 +525,7 @@ app.on('ready', () => {
console.log(`EncounterPlus URL: ${encounterhost}`)
}
console.log("Checking menu cache...")
if (fs.existsSync(path.join(app.getPath("cache"),app.getName(),"datacache",`campaignscache.json`))) {
if (fs.existsSync(path.join(app.getPath("cache"),app.getName(),"datacache",`campaignscache.json`))) {
const res = JSON.parse(fs.readFileSync(path.join(app.getPath("cache"),app.getName(),"datacache",`campaignscache.json`)))
if (res && ddb.manifestTimestamp<res.lastUpdate) {
console.log("Using cached campagins")
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "encounterlog",
"productName": "EncounterLog",
"version": "2.7.0-b3",
"version": "2.7.0-b4",
"repository": {
"type": "git",
"url": "https://github.com/rrgeorge/encounterlog"
Expand Down Expand Up @@ -157,7 +157,7 @@
"@google-cloud/vision": "^2.3.8",
"@joplin/turndown-plugin-gfm": "^1.0.56",
"adm-zip": "^0.5.9",
"better-sqlite3-multiple-ciphers": "^11.1.2",
"better-sqlite3-multiple-ciphers": "^11.3.0",
"build": "^0.1.4",
"electron-dl": "^3.2.1",
"electron-preferences": "^2.8.2",
Expand All @@ -184,8 +184,8 @@
},
"devDependencies": {
"@electron/universal": "^1.2.1",
"electron": "30.4.0",
"electron-builder": "^24.13.3"
"electron": "^32.2.0",
"electron-builder": "25.1.7"
},
"packageManager": "yarn@4.4.0"
}
Loading

0 comments on commit 968cb2c

Please sign in to comment.