Skip to content

Commit

Permalink
Rename Application.fromNRO() to Application.fromNro()
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Mar 10, 2024
1 parent 6fa9702 commit 8122869
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/wet-lizards-itch.md
@@ -0,0 +1,5 @@
---
"nxjs-runtime": patch
---

Rename `Application.fromNRO()` to `Application.fromNro()`
4 changes: 2 additions & 2 deletions packages/runtime/src/switch/ns.ts
Expand Up @@ -138,13 +138,13 @@ export class Application {
*
* ```typescript
* const nro = await Switch.readFile('sdmc:/hbmenu.nro');
* const app = Switch.Application.fromNRO(nro);
* const app = Switch.Application.fromNro(nro);
* console.log(app.name);
* ```
*
* @param nro The contents of the `.nro` file.
*/
static fromNRO(nro: ArrayBuffer): Application {
static fromNro(nro: ArrayBuffer): Application {
_init();
return proto($.nsAppNew(nro), Application);
}
Expand Down

0 comments on commit 8122869

Please sign in to comment.