add install page

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-10-09 20:32:28 +08:00
parent c1b9a3f53d
commit 089cf41a2f
4 changed files with 242 additions and 1 deletions

View File

@@ -1041,6 +1041,22 @@ pub fn main_update_me() -> SyncReturn<bool> {
SyncReturn(true)
}
pub fn install_show_run_without_install() -> SyncReturn<bool> {
SyncReturn(show_run_without_install())
}
pub fn install_run_without_install() {
run_without_install();
}
pub fn install_install_me(options: String, path: String) {
install_me(options, path, false, false);
}
pub fn install_install_path() -> SyncReturn<String> {
SyncReturn(install_path())
}
#[cfg(target_os = "android")]
pub mod server_side {
use jni::{