Skip to content

Commit

Permalink
Nothing change A2
Browse files Browse the repository at this point in the history
  • Loading branch information
Veha0001 committed Jan 8, 2025
1 parent d6835f4 commit 934c652
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,13 @@ jobs:
- name: Build
shell: bash
run: |
cargo build --release
cargo build --release --bin BinaryPatch
run: cargo build --release --target x86_64-pc-windows-msvc

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: BinaryPatch
path: |
target/release/Patcher.exe
target/release/BinaryPatch.exe
path: target/release/Patcher.exe
if-no-files-found: error

- name: Release
Expand Down
7 changes: 1 addition & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@ name = "Patcher"
version = "0.1.5"
edition = "2021"

[[bin]]
name = "BinaryPatch"
path = "src/main.rs"
test = false
bench = false

[package.metadata.bundle]
name = "Patcher"
identifier = "io.github.veha0001.BinaryPatch"
version = "0.1.5"
copyright = "Copyright (c) 2025 Veha Veha"
copyright = "Copyright © 2025"
category = "Program"
osx_minimum_system_version = "10.12"

Expand Down
6 changes: 0 additions & 6 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ fn main() {
let target = env::var("TARGET").unwrap_or_else(|e| panic!("{}", e));
println!("cargo:rerun-if-changed=build.rs");
#[cfg(target_os = "windows")]
if let Ok(bin_name) = env::var("CARGO_PKG_NAME") {
if bin_name == "BinaryPatch" {
return;
}
}
#[cfg(target_os = "windows")]
if target.contains("windows") {
println!("cargo:rerun-if-changed=res/tsh.ico");
let mut res = winres::WindowsResource::new();
Expand Down

0 comments on commit 934c652

Please sign in to comment.