mirror of
https://github.com/ihaveamac/custom-install.git
synced 2026-03-08 09:21:59 +00:00
Compare commits
3 Commits
c61b2bf168
...
safe-insta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cf735e55f | ||
|
|
6a79b6ca86 | ||
|
|
46361111ba |
32
.github/workflows/build-finalize.yml
vendored
Normal file
32
.github/workflows/build-finalize.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: Build finalize (3DS)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'finalize/**'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'finalize/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: devkitpro/devkitarm:20260219
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build finalize module
|
||||||
|
working-directory: finalize
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Upload build artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: finalize-3dsx
|
||||||
|
path: |
|
||||||
|
finalize/custom-install-finalize.3dsx
|
||||||
|
finalize/custom-install-finalize.elf
|
||||||
|
finalize/custom-install-finalize.smdh
|
||||||
@@ -294,11 +294,11 @@ void finalize_install(void)
|
|||||||
|
|
||||||
ticket_buf.title_id_be = __builtin_bswap64(entries[i].title_id);
|
ticket_buf.title_id_be = __builtin_bswap64(entries[i].title_id);
|
||||||
|
|
||||||
res = AM_InstallTicketBegin(&ticketHandle);
|
res = AMNET_InstallTicketBegin(&ticketHandle);
|
||||||
if (R_FAILED(res))
|
if (R_FAILED(res))
|
||||||
{
|
{
|
||||||
printf("Failed to begin ticket install: %08lx\n", res);
|
printf("Failed to begin ticket install: %08lx\n", res);
|
||||||
AM_InstallTicketAbort(ticketHandle);
|
AMNET_InstallTicketAbort(ticketHandle);
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -306,15 +306,15 @@ void finalize_install(void)
|
|||||||
if (R_FAILED(res))
|
if (R_FAILED(res))
|
||||||
{
|
{
|
||||||
printf("Failed to write ticket: %08lx\n", res);
|
printf("Failed to write ticket: %08lx\n", res);
|
||||||
AM_InstallTicketAbort(ticketHandle);
|
AMNET_InstallTicketAbort(ticketHandle);
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
res = AM_InstallTicketFinish(ticketHandle);
|
res = AMNET_InstallTicketFinish(ticketHandle);
|
||||||
if (R_FAILED(res))
|
if (R_FAILED(res))
|
||||||
{
|
{
|
||||||
printf("Failed to finish ticket install: %08lx\n", res);
|
printf("Failed to finish ticket install: %08lx\n", res);
|
||||||
AM_InstallTicketAbort(ticketHandle);
|
AMNET_InstallTicketAbort(ticketHandle);
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user