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

WIP: Add com.oray.Sunlogin #5134

Draft
wants to merge 2 commits into
base: new-pr
Choose a base branch
from

Conversation

chenyuanrun
Copy link

Please confirm your submission meets all the criteria

Oray Sunlogin is a remote control software with many years of experience in remote management technology that can remotely control mobile phones, remote desktop connections, remota boot, remoted management, etc.

  • Please describe your application briefly.
  • I have read the App Requirements and App Maintenance pages.
  • My pull request follows the instructions at App Submission.
  • I have built and tested the submission locally.
  • I am using only the minimal set of permissions. (If not, please explain each non-standard permission.)
  • All assets referenced in the manifest are redistributable by any party. If not, the unredistributable parts are using an extra-data source type.
  • I am an author/developer/upstream contributor of the project. If not, I contacted upstream developers about submitting their software to Flathub. Link:
  • The domain used for the application ID is controlled by the application developers either directly or through the code hosting (e.g. GitHub, GitLab, SourceForge, etc.). The application id guidelines are followed.
  • Any additional patches or files have been submitted to the upstream projects concerned. (If not, explain why.)

Signed-off-by: Chen Yuanrun <chen-yuanrun@foxmail.com>
@chenyuanrun
Copy link
Author

This app always crash under flatpak, need upstream to fix it.

@chenyuanrun
Copy link
Author

Crash message:

[2024-04-05 17:31:16] - [LoadCefSymbolTable] -load libcef.so success.
[3]     2024-04-05 17:31:16.273 = Debug =       *[statistical] time point: 17:31:16.273 -- app_initialized
[0405/173116.405702:WARNING:resource_bundle.cc(338)] locale_file_path.empty() for locale 
[0405/173116.405735:ERROR:main_delegate.cc(684)] Could not load locale pak for en-US
/app/extra/sunlogin/bin/sunloginclient: unrecognized option '--no-sandbox'
/app/extra/sunlogin/bin/sunloginclient: unrecognized option '--lang=en-US'
/app/extra/sunlogin/bin/sunloginclient: unrecognized option '--locales-dir-path=/app/extra/sunlogin/res'
/app/extra/sunlogin/bin/sunloginclient: unrecognized option '--log-file=/app/extra/sunlogin/bin/debug.log'
/app/extra/sunlogin/bin/sunloginclient: unrecognized option '--resources-dir-path=/app/extra/sunlogin/res'
/app/extra/sunlogin/bin/sunloginclient: unrecognized option '--user-agent=SLRC/15.2.0.63062 (Linux,x64,Person,loginver=10,appname=sunloginRemoteClient) Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36'
[2024-04-05 17:31:16] - [LoadCefSymbolTable] -load libcef.so success.
[28]    2024-04-05 17:31:16.437 = Debug =       *[statistical] time point: 17:31:16.437 -- app_initialized
[0405/173116.564194:WARNING:resource_bundle.cc(338)] locale_file_path.empty() for locale 
[0405/173116.564226:ERROR:main_delegate.cc(684)] Could not load locale pak for en-US
[0405/173116.581410:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581454:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581494:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581508:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581521:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581533:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581544:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581556:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581568:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581883:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581894:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581902:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581913:WARNING:resource_bundle.cc(533)] locale resources are not loaded
[0405/173116.581943:WARNING:resource_bundle.cc(533)] locale resources are not loaded
Gtk-Message: 17:31:16.611: Failed to load module "pk-gtk-module"
Gtk-Message: 17:31:16.611: Failed to load module "pk-gtk-module"
[3]     2024-04-05 17:31:16.643 - Info  -       config path: /etc/orayconfig.conf
[3]     2024-04-05 17:31:16.658 * Error *       [Connect] rpc connect ret -1 failed errcode 2
lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

[dlg_setting_new.xml] - on_init

lua::call() attempt to call global `on_init' (not a function)

[dlg_child_webbrowser.xml] - on_init

lua::call() attempt to call global `on_init' (not a function)

[dlg_show_web_bind.xml] - on_init

[main_dlg.xml] - check 1

lua::call() attempt to call global `on_init' (not a function)

[dlg_child_webbrowser.xml] - on_init

[main_dlg.xml] - vcode:----

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

lua::call() attempt to call global `on_quit' (not a function)

[0405/173130.512558:ERROR:browser_main_loop.cc(279)] Gtk: gtk_main_quit: assertion 'main_loops != NULL' failed

@chenyuanrun chenyuanrun changed the title Add com.oray.sunlogin Add com.oray.Sunlogin Apr 5, 2024
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: /usr/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely wrong.

dest-filename: apply_extra
- type: extra-data
filename: SunloginClient-amd64.deb
url: https://d.oray.com/sunlogin/linux/SunloginClient_15.2.0.63062_amd64.deb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will work great on aarch64.

@bbhtt bbhtt added work-in-progress Draft PRs awaiting-changes Pull request waiting for changes from author labels Apr 5, 2024
@chenyuanrun chenyuanrun changed the title Add com.oray.Sunlogin WIP: Add com.oray.Sunlogin Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-changes Pull request waiting for changes from author work-in-progress Draft PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants