Skip to content

Commit

Permalink
apperantly auto-updates were broken since migration to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
SnosMe committed Dec 6, 2022
1 parent c2cfd6d commit efadb26
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 63 deletions.
2 changes: 1 addition & 1 deletion main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "awakened-poe-trade",
"version": "3.19.10004",
"version": "3.19.10005",
"private": true,
"scripts": {
"dev": "node build/script.cjs",
Expand Down
5 changes: 2 additions & 3 deletions main/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ app.on('ready', async () => {
process.platform === 'linux' ? 1000 : 0
)

if (process.env.NODE_ENV === 'production') {
checkForUpdates()
}
checkForUpdates()
setInterval(checkForUpdates, 16 * 60 * 60 * 1000)
})
1 change: 1 addition & 0 deletions main/src/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export async function checkForUpdates () {
!config.get('disableUpdateDownload')
)

if (!UpdateState.canCheck) return
UpdateState.canCheck = false
UpdateState.status = 'Checking for update...'
rebuildTrayMenu()
Expand Down
121 changes: 62 additions & 59 deletions renderer/public/data/patrons.json
Original file line number Diff line number Diff line change
@@ -1,129 +1,132 @@
[
{"from": "A. Førde", "months": 3, "style": 1},
{"from": "A. Koenig", "months": 1, "style": 1},
{"from": "A. Logos", "months": 2, "style": 1},
{"from": "A. Logos", "months": 4, "style": 1},
{"from": "A. Miller", "months": 11, "style": 2},
{"from": "A. West", "months": 9, "style": 2},
{"from": "A. Robinson", "months": 2, "style": 1},
{"from": "A. West", "months": 11, "style": 2},
{"from": "AbedNego", "months": 6, "style": 1},
{"from": "aikodz", "months": 3, "style": 2},
{"from": "Andrew S", "months": 1, "style": 1},
{"from": "angrymouse", "months": 6, "style": 1},
{"from": "applejacked", "months": 2, "style": 1},
{"from": "applejacked", "months": 4, "style": 1},
{"from": "Arte Lope", "months": 17, "style": 2},
{"from": "Askanor", "months": 1, "style": 1},
{"from": "AZ", "months": 3, "style": 2},
{"from": "B3ginner", "months": 1, "style": 1},
{"from": "Baang", "months": 17, "style": 4},
{"from": "Baang", "months": 19, "style": 4},
{"from": "bashcoder", "months": 4, "style": 1},
{"from": "BearsInTheSky", "months": 1, "style": 1},
{"from": "Bjoern B.", "months": 4, "style": 1},
{"from": "Brotango", "months": 3, "style": 2},
{"from": "Budget Boudica", "months": 5, "style": 1},
{"from": "C. Niemeier", "months": 7, "style": 2},
{"from": "Calyx", "months": 18, "style": 5},
{"from": "Budget Boudica", "months": 6, "style": 1},
{"from": "C. Niemeier", "months": 9, "style": 2},
{"from": "Calyx", "months": 20, "style": 5},
{"from": "camenre", "months": 2, "style": 1},
{"from": "Chee", "months": 2, "style": 1},
{"from": "clopnaz", "months": 3, "style": 2},
{"from": "Cod Smack", "months": 18, "style": 2},
{"from": "Cod Smack", "months": 20, "style": 3},
{"from": "Coolulder", "months": 23, "style": 4},
{"from": "CysDg", "months": 1, "style": 1},
{"from": "D. Bryan", "months": 2, "style": 1},
{"from": "D. Ivanov", "months": 16, "style": 4},
{"from": "D. Paulino", "months": 12, "style": 4},
{"from": "Dante M.", "months": 9, "style": 3},
{"from": "D. Paulino", "months": 14, "style": 4},
{"from": "Dante M.", "months": 11, "style": 4},
{"from": "Darkscion", "months": 1, "style": 1},
{"from": "deeray", "months": 20, "style": 3},
{"from": "deeray", "months": 22, "style": 3},
{"from": "delasteve", "months": 1, "style": 2},
{"from": "digininja", "months": 21, "style": 3},
{"from": "DTauro", "months": 2, "style": 1},
{"from": "digininja", "months": 23, "style": 3},
{"from": "DTauro", "months": 4, "style": 1},
{"from": "Dvoth", "months": 3, "style": 2},
{"from": "E. Giegerich", "months": 2, "style": 1},
{"from": "E. Manhattan", "months": 9, "style": 2},
{"from": "E. Manhattan", "months": 11, "style": 3},
{"from": "E. Troyak", "months": 4, "style": 4},
{"from": "Ellendar", "months": 27, "style": 5},
{"from": "Ellendar", "months": 29, "style": 5},
{"from": "facemask12", "months": 4, "style": 2},
{"from": "FARIS2", "months": 2, "style": 1},
{"from": "frsm", "months": 25, "style": 3},
{"from": "FARIS2", "months": 4, "style": 2},
{"from": "frsm", "months": 27, "style": 3},
{"from": "gamingrobot", "months": 9, "style": 2},
{"from": "Gdubz", "months": 4, "style": 3},
{"from": "GRIMGeek", "months": 25, "style": 3},
{"from": "Grotok", "months": 1, "style": 1},
{"from": "Heikki", "months": 21, "style": 3},
{"from": "HOOSIER", "months": 7, "style": 1},
{"from": "Horstusius", "months": 1, "style": 1},
{"from": "iqdrive", "months": 2, "style": 2},
{"from": "GRIMGeek", "months": 27, "style": 3},
{"from": "Grotok", "months": 3, "style": 1},
{"from": "Heikki", "months": 23, "style": 3},
{"from": "HOOSIER", "months": 9, "style": 1},
{"from": "Horstusius", "months": 3, "style": 1},
{"from": "iqdrive", "months": 2, "style": 1},
{"from": "J. Harmer", "months": 10, "style": 2},
{"from": "J. Krzeminski", "months": 14, "style": 2},
{"from": "J. Madill", "months": 13, "style": 2},
{"from": "J. Müller", "months": 8, "style": 1},
{"from": "J. Müller", "months": 10, "style": 2},
{"from": "J. Pollard", "months": 4, "style": 1},
{"from": "J. Porter", "months": 17, "style": 2},
{"from": "J. Rapp", "months": 21, "style": 3},
{"from": "J. Stratmann", "months": 25, "style": 3},
{"from": "J. Porter", "months": 19, "style": 2},
{"from": "J. Rapp", "months": 23, "style": 3},
{"from": "J. Stratmann", "months": 27, "style": 3},
{"from": "J. Wiegand", "months": 10, "style": 3},
{"from": "Jordan", "months": 1, "style": 1},
{"from": "JoshMike", "months": 3, "style": 2},
{"from": "JoyFired", "months": 7, "style": 1},
{"from": "JP Bagdonas", "months": 8, "style": 3},
{"from": "Jr Honorio", "months": 5, "style": 3},
{"from": "Jr Honorio", "months": 5, "style": 2},
{"from": "K_fudge", "months": 1, "style": 2},
{"from": "K. Hafenscher", "months": 26, "style": 5},
{"from": "K. Mohin", "months": 1, "style": 1},
{"from": "KhaozNZ", "months": 5, "style": 1},
{"from": "khay", "months": 2, "style": 1},
{"from": "khay", "months": 4, "style": 1},
{"from": "Kloozy", "months": 6, "style": 1},
{"from": "kmalex4", "months": 23, "style": 4},
{"from": "L. MacNeil", "months": 21, "style": 5},
{"from": "Lendoria", "months": 4, "style": 2},
{"from": "livejamie", "months": 8, "style": 1},
{"from": "kmalex4", "months": 23, "style": 3},
{"from": "L. MacNeil", "months": 23, "style": 5},
{"from": "L. Sampaio Dias", "months": 2, "style": 1},
{"from": "Lendoria", "months": 6, "style": 2},
{"from": "livejamie", "months": 10, "style": 2},
{"from": "lord_lengl", "months": 2, "style": 1},
{"from": "Lordius", "months": 1, "style": 1},
{"from": "louislo", "months": 6, "style": 2},
{"from": "M. Aldous", "months": 12, "style": 2},
{"from": "M. Kimble", "months": 16, "style": 3},
{"from": "M. Aldous", "months": 14, "style": 2},
{"from": "M. Kimble", "months": 18, "style": 3},
{"from": "Max10969", "months": 16, "style": 3},
{"from": "Melu", "months": 1, "style": 1},
{"from": "MiksLynx", "months": 9, "style": 2},
{"from": "MiksLynx", "months": 11, "style": 2},
{"from": "Mindfire", "months": 2, "style": 1},
{"from": "Mr. Ozarka", "months": 10, "style": 2},
{"from": "N. Baldwin", "months": 5, "style": 3},
{"from": "N. Baldwin", "months": 7, "style": 3},
{"from": "N. Juretic", "months": 15, "style": 4},
{"from": "N. Sabin", "months": 1, "style": 1},
{"from": "Nakoma", "months": 2, "style": 1},
{"from": "P. Pandian", "months": 8, "style": 3},
{"from": "P. Roeper", "months": 8, "style": 2},
{"from": "Pieman807", "months": 8, "style": 3},
{"from": "Praestrom", "months": 1, "style": 1},
{"from": "Quezion", "months": 11, "style": 4},
{"from": "R. Chow", "months": 22, "style": 3},
{"from": "R. Fidel", "months": 7, "style": 3},
{"from": "R. Klippert", "months": 8, "style": 2},
{"from": "P. Roeper", "months": 10, "style": 2},
{"from": "Pieman807", "months": 10, "style": 3},
{"from": "Praestrom", "months": 2, "style": 1},
{"from": "Quezion", "months": 13, "style": 4},
{"from": "R. Chow", "months": 24, "style": 3},
{"from": "R. Fidel", "months": 9, "style": 3},
{"from": "R. Klippert", "months": 10, "style": 2},
{"from": "roxzin", "months": 4, "style": 1},
{"from": "rw", "months": 27, "style": 4},
{"from": "S. Barton", "months": 4, "style": 2},
{"from": "S. Goozey", "months": 7, "style": 1},
{"from": "Sanii", "months": 17, "style": 4},
{"from": "S. Barton", "months": 6, "style": 2},
{"from": "S. Goozey", "months": 9, "style": 2},
{"from": "Sanii", "months": 19, "style": 5},
{"from": "SasQ", "months": 1, "style": 1},
{"from": "Secret Wizard", "months": 6, "style": 3},
{"from": "Seppi", "months": 1, "style": 1},
{"from": "sn0cr4sh", "months": 21, "style": 3},
{"from": "sn0cr4sh", "months": 23, "style": 3},
{"from": "Splat", "months": 7, "style": 1},
{"from": "stark4machines", "months": 13, "style": 3},
{"from": "Steve O.", "months": 6, "style": 1},
{"from": "StrangerKill", "months": 11, "style": 2},
{"from": "Sy", "months": 5, "style": 1},
{"from": "symphony", "months": 2, "style": 1},
{"from": "T. Pluta", "months": 7, "style": 2},
{"from": "T. Rayne", "months": 1, "style": 1},
{"from": "StrangerKill", "months": 13, "style": 2},
{"from": "Sy", "months": 7, "style": 1},
{"from": "symphony", "months": 4, "style": 1},
{"from": "T. Pluta", "months": 9, "style": 2},
{"from": "T. Rayne", "months": 3, "style": 1},
{"from": "Tactical96", "months": 2, "style": 1},
{"from": "TH", "months": 1, "style": 1},
{"from": "ThatGuyWasTaken", "months": 20, "style": 5},
{"from": "TheDriveHome", "months": 28, "style": 4},
{"from": "ThatGuyWasTaken", "months": 22, "style": 5},
{"from": "TheDriveHome", "months": 30, "style": 4},
{"from": "turmalin", "months": 4, "style": 3},
{"from": "V. Chernenko", "months": 2, "style": 1},
{"from": "Vandi", "months": 21, "style": 3},
{"from": "Vandi", "months": 23, "style": 3},
{"from": "vii", "months": 13, "style": 4},
{"from": "W. Milas", "months": 24, "style": 4},
{"from": "Wiggles", "months": 21, "style": 5},
{"from": "W. Milas", "months": 26, "style": 4},
{"from": "Wiggles", "months": 21, "style": 4},
{"from": "Zelacks", "months": 8, "style": 3},
{"from": "zlajo", "months": 8, "style": 2}
{"from": "zlajo", "months": 8, "style": 1}
]

0 comments on commit efadb26

Please sign in to comment.