Skip to content

Commit

Permalink
Minimum working version
Browse files Browse the repository at this point in the history
This I would say is a minimum working version. It pretty much does what I want. I may not make a lot of other changes.
I will cut a release and if I get not other suggestions, and don't find any bugs I'll probably bump this to 1.0

Updated release workflow to build for mac, and arm linux

Added in an app icon (although it's crude, might want to get a better one)

Added the ability add files and update the model accordingly
  • Loading branch information
Vadoola committed Aug 15, 2023
1 parent 6a5dc56 commit 0dc61c4
Show file tree
Hide file tree
Showing 9 changed files with 334 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, aarch64-unknown-linug-gnu, x86_64-apple-darwin]
steps:
- uses: actions/checkout@master
- name: Compile and release
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pv-unlocker"
version = "0.1.0"
version = "0.6.0"
authors = ["Carl <carl@vadoola.com>"]
edition = "2021"
build = "build.rs"
Expand All @@ -13,6 +13,7 @@ ab_versions = {git = "https://github.com/Vadoola/ab_versions_rs.git"}
clap = { version = "4.3", features = ["derive"] }
rayon = "1.5"
wild = "2.1"
rfd = { version = "0.11.4", default-features = false, features = ["xdg-portal"]}

[build-dependencies]
slint-build = "1.1"
Expand Down
Binary file added assets/icons/logo.ico
Binary file not shown.
Binary file added assets/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
273 changes: 273 additions & 0 deletions assets/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn main() {
#[cfg(windows)]
windres::Build::new().compile("pv-unlocker.rc").unwrap();

slint_build::compile("ui/appwindow.slint").unwrap();
}
4 changes: 2 additions & 2 deletions pv-unlocker.rc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//exe-icon ICON "assets/icons/logo.ico"
//logo-icon ICON "assets/icons/logo.ico"
exe-icon ICON "assets/icons/logo.ico"
logo-icon ICON "assets/icons/logo.ico"
Loading

0 comments on commit 0dc61c4

Please sign in to comment.