first commit

This commit is contained in:
2026-09-08 20:28:54 +08:00
commit 2ada8d3d5a
37380 changed files with 4886169 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
const commands = {};
/**
* Open URL scheme on Simulator. iOS will automatically try
* to find a matching application, which supports the given scheme.
* It is required that Simulator is in _booted_ state.
*
* @param {string} url - The URL scheme to open, for example http://appiom.io
* will be opened by the built-in mobile browser.
* @return {ExecResult} Command execution result.
* @throws {Error} If the corresponding simctl subcommand command
* returns non-zero return code.
* @throws {Error} If the `udid` instance property is unset
*/
commands.openUrl = async function openUrl (url) {
return await this.exec('openurl', {
args: [this.requireUdid('openurl'), url],
});
};
export default commands;