Skip to content

Commit

Permalink
13.0.3 Release (#8)
Browse files Browse the repository at this point in the history
* Update search code and offset for 13.0.2

* Update for 13.0.3

* test workflow

* try changing build commands

* Remove root directory from build script

* Switch branch of cargo-skyline

* Remove test branch
  • Loading branch information
asimon-1 authored Oct 12, 2024
1 parent 8e8d2c9 commit 4b4e71a
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 187 deletions.
2 changes: 0 additions & 2 deletions .cargo/config

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/rust_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Rust Build

env:
PLUGIN_NAME: 'libparam_hook.nro'
VERSION: 'v13.0.2'
ENV SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
VERSION: 'v13.0.3'


on:
push:
Expand All @@ -28,11 +28,11 @@ jobs:
cache-all-crates: true
- name: Install Skyline
run: |
SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt cargo install cargo-skyline
SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt cargo-skyline skyline update-std
- name: Build release NRO
id: build_release
run: RUSTFLAGS=-g cargo-skyline skyline build --release
cargo install --git https://github.com/Raytwo/cargo-skyline --branch std-change --force
cargo-skyline skyline update-std
- name: Build NRO
run: cargo skyline build --release

- name: Upload plugin artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -44,14 +44,14 @@ jobs:
- plugin
steps:
- name: Download all artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
- name: Display structure of downloaded files
run: ls -R
- name: Upload release
uses: meeDamian/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
prerelease: false
allow_override: true
gzip: false
tag: ${{env.VERSION}}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "param_hook"
version = "13.0.2"
version = "13.0.3"
authors = ["jugeeya <[email protected]>"]
edition = "2018"

Expand Down
22 changes: 0 additions & 22 deletions Xargo.toml

This file was deleted.

45 changes: 0 additions & 45 deletions aarch64-skyline-switch.json

This file was deleted.

106 changes: 0 additions & 106 deletions link.ld

This file was deleted.

2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-04-10
nightly
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Callback = fn(&ParamsInfo);

static HOOKS: Mutex<Vec<Callback>> = Mutex::new(Vec::new());

static mut LOAD_PRC_FILE_OFFSET: usize = 0x3720510;
static mut LOAD_PRC_FILE_OFFSET: usize = 0x3720530;

static LOAD_PRC_FILE_SEARCH_CODE: &[u8] = &[
0xff, 0xc3, 0x01, 0xd1,
Expand Down

0 comments on commit 4b4e71a

Please sign in to comment.