You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a request device button if no config for the device code is found (#175)
This PR adds:
- A button that appears when no config is found for a device code. The
button redirects to a github issue requesting support for the device.
logger.error(f"Failed to load config for {device_code}.")
266
+
# failed to load config or device is not supported
267
+
logger.error(
268
+
f"Device with code '{device_code}' is not supported or the config is corrupted. Please check the logs for more information."
269
+
)
263
270
self.device_name.value= (
264
-
f"Failed to load config for device with code {device_code}."
271
+
f"Device with code '{device_code}' is not supported yet."
272
+
)
273
+
# add request support for device button
274
+
request_url=f"https://github.com/openandroidinstaller-dev/openandroidinstaller/issues/new?assignees=&labels=device&projects=&template=device-support-request.md&title=Add support for {device_code}"
0 commit comments