-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
addon-updaterの更新 #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
作業ありがとうございます、助かりました。
addon/globalPlugins/ERE/updater.py
Outdated
if isCompatibleWith2025(): | ||
return gui.message.MessageDialog.confirm(message, title) == gui.message.ReturnCode.OK | ||
else: | ||
return gui.messageBox(message, title, style=wx.CENTER | wx.OK | wx.CANCEL | wx.ICON_INFORMATION) == wx.ID_OK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gui.messageBox()
の戻り値は、wx.ID_OK
ではなくwx.OK
のようです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The return value is one of: YES , NO , CANCEL , OK or HELP (notice that this return value is different from the return value of wx.MessageDialog.ShowModal ).
ほんまや
addon/globalPlugins/ERE/updater.py
Outdated
_("The update information is invalid.\nPlease contact ACT Laboratory for further information."), | ||
_("Error"), | ||
style=wx.CENTER | wx.ICON_WARNING) | ||
gui.messageBox(strs.ERROR_UPDATE_INFO_INVALID, strs.ERROR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
messageBox(strs.ERROR_UPDATE_INFO_INVALID, strs.ERROR)
ではないでしょうか。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
修正ありがとうございます、動いていると思います。
このPRでやっていること
やってもらいたいこと
以下の確認をお願いします
私はとりあえず全部のアドオンにワールドツアーして回るので、動作確認は、アドオンを主担当した人にお願いしたいです。
実際にアップデートできるまでテストしてもらえると助かります。ローカルだけバージョン番号を下げることでテストできると思います。