Skip to content

Commit

Permalink
feat: app icons, use GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
MeguminSama committed Nov 29, 2024
1 parent 6673247 commit 96ee45b
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.RELEASE_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/discord-modloader_*
tag: ${{ github.ref }}
overwrite: true
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 19 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,33 @@ detours-sys = { version = "0.1.2" }
widestring = "1.1.0"

[target.'cfg(unix)'.dependencies]
libc = "0.2.166"
libc = "0.2.167"
retour = { version = "0.3.1", features = ["static-detour"] }

[package.metadata.packager]
before-packaging-command = "cargo build --release --all"
out-dir = "./dist"
product-name = "Discord ModLoader"
product-name = "Discord Modloader"
identifier = "dev.megu.discord.modloader"
binaries = [{ path = "discord-modloader.exe", main = true }]
authors = ["Megumin <[email protected]"]
homepage = "https://github.com/MeguminSama/Discord-ModLoader"
out-dir = "./dist"
before-packaging-command = "cargo build --release --all"
resources = [
"README.md",
"LICENSE",
"templates",
{ src = "target/release/libdiscordmodloader.dll", target = "libdiscordmodloader.dll" },
{ src = "target/release/libdiscordmodloader.so", target = "libdiscordmodloader.so" },
]
log-level = "trace"
# icons = ["32x32.png"]
icons = [
"assets/logo_development.svg",
"assets/logo_development.ico",
"assets/32x32.png",
"assets/64x64.png",
"assets/128x128.png",
"assets/256x256.png",
"assets/512x512.png",
"assets/1024x1024.png",
"assets/2048x2048.png",
"assets/4096x4096.png",
]
Binary file added assets/1024x1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/logo_development.ico
Empty file.
Binary file added assets/logo_development.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/logo_development.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 96ee45b

Please sign in to comment.