Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrossOver Error (setBadge) | PLEASE UPDATE TO THE LATEST VERSION #153

Open
At-Heal opened this issue Apr 11, 2022 · 10 comments
Open

CrossOver Error (setBadge) | PLEASE UPDATE TO THE LATEST VERSION #153

At-Heal opened this issue Apr 11, 2022 · 10 comments

Comments

@At-Heal
Copy link

At-Heal commented Apr 11, 2022

<!-- Please succinctly describe your issue and steps to reproduce it. Screenshots are worth a hundred bug reports! -->


---

TypeError: windows.setBadge is not a function:
TypeError: windows.setBadge is not a function
at NsisUpdater.<anonymous> (C:\Users\hrvoj\AppData\Local\Temp\27UaVUQfGUYgaOqe4G5VUkyhLMU\resources\app.asar\src\main\auto-update.js:59:13)
at NsisUpdater.emit (events.js:315:20)
at NsisUpdater.dispatchUpdateDownloaded (C:\Users\hrvoj\AppData\Local\Temp\27UaVUQfGUYgaOqe4G5VUkyhLMU\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:581:10)
at Object.done (C:\Users\hrvoj\AppData\Local\Temp\27UaVUQfGUYgaOqe4G5VUkyhLMU\resources\app.asar\node_modules\electron-updater\out\BaseUpdater.js:42:14)
at done (C:\Users\hrvoj\AppData\Local\Temp\27UaVUQfGUYgaOqe4G5VUkyhLMU\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:719:25)
at async NsisUpdater.executeDownload (C:\Users\hrvoj\AppData\Local\Temp\27UaVUQfGUYgaOqe4G5VUkyhLMU\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:757:12)

---

CrossOver 3.0.0-4

Electron 11.5.0
win32 10.0.19044
Locale: en-US

@lacymorrow
Copy link
Owner

CrossOver 3.0.0-4 had some errors, can you try v3?
https://github.com/lacymorrow/crossover/releases

@lacymorrow
Copy link
Owner

I'm really sorry about this, I believe I pushed a bug in version 2.7.4 that actually broke the auto-updater.

The fix is to manually install v3.0.0: https://github.com/lacymorrow/crossover/releases/tag/v3.0.0

@lacymorrow
Copy link
Owner

lacymorrow commented Apr 12, 2022

duplicate #153 #154 #155

This was referenced Apr 12, 2022
Closed
@lacymorrow lacymorrow changed the title Error CrossOver Error (setBadge) | PLEASE UPDATE TO THE LATEST VERSION Apr 13, 2022
@nomis51
Copy link

nomis51 commented Apr 14, 2022

Still happening to me in version 3.1.
Did a full clean (uninstalled manually the other version 2.7.4, remove anything remaining in app data).
First start is fine, on the second one it starts happening endlessly again.

I saw it's a bug coming from 2.7.4 that got into 3.0 "beta", but still happen to me in 3.1.

@lacymorrow
Copy link
Owner

@nomis51 do you remember what the error you received was? I’m working on this now, it’s due to the windows store build

@nomis51
Copy link

nomis51 commented Apr 14, 2022

@nomis51 do you remember what the error you received was? I’m working on this now, it’s due to the windows store build

it's the setBadge one, here the stack trace

TypeError: Cannot read property 'setBadge' of undefined
    at Object.setBadge (C:/Users/me/AppData/Local/Programs/crossover/resources/app.asar/src/main/dock.js:5:35)
    at NsisUpdater.onUpdateDownloaded (C:/Users/me/AppData/Local/Programs/crossover/resources/app.asar/src/main/auto-update.js:51:7)
    at NsisUpdater.dispatchUpdateDownloaded (C:/Users/me/AppData/Local/Programs/crossover/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:581:10)
    at Object.done (C:/Users/me/AppData/Local/Programs/crossover/resources/app.asar/node_modules/electron-updater/out/BaseUpdater.js:42:14)
    at done (C:/Users/me/AppData/Local/Programs/crossover/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:719:25)
    at async NsisUpdater.executeDownload (C:/Users/me/AppData/Local/Programs/crossover/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:730:14)```

@lacymorrow
Copy link
Owner

I've updated things and added fixes in v3.1.5, check out https://github.com/lacymorrow/crossover/releases/latest

@nomis51
Copy link

nomis51 commented Apr 15, 2022

I've updated things and added fixes in v3.1.5, check out https://github.com/lacymorrow/crossover/releases/latest

Works perfectly!

@lacymorrow
Copy link
Owner

THANK YOU for testing it out, I really appreciate your help @nomis51

@lacymorrow
Copy link
Owner

Duplicates: #189, #187

This was referenced Jul 15, 2022
Closed
@lacymorrow lacymorrow mentioned this issue Jan 2, 2024
This was referenced May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants