Skip to content

Commit

Permalink
release v0.1.1, now with prebuilt binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
aisuneko committed Oct 21, 2022
1 parent a1c9f96 commit bf5af04
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/target
*.AppImage
build_commands.txt
2 changes: 1 addition & 1 deletion Cargo.lock

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

15 changes: 12 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[package]
name = "lightmol"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

include = ["icon.svg", "icon.png"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "lightmol"
path = "src/main.rs"

[dependencies]
periodic-table-on-an-enum = "0.3.2"
Expand All @@ -12,4 +15,10 @@ fltk-theme = "0.4.2"

[profile.release]
strip = true
lto = true
lto = true

# [target.'cfg(target_family = "windows")']
# rustflags = ["-C","-Wl,--subsystem,windows"]

# [package.metadata.appimage]
# auto_link = true
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ The app supports two calculation modes: Normal Mode and school Mode. In Normal M
Examples: `Ca(OH)2` `Cu2(OH)2CO3` `NH4OH` `CCl4` `AgCl` `CuSO4-5H2O` `KAl(SO4)2-12H2O` `[C(NH2)3]Al(SO4)2`

## TODO
- [ ] Publish prebuilt binaries
- [X] Publish prebuilt binaries
- [ ] ~~Make UI prettier (is that even possible under FLTK?)~~
- [ ] Tidy up UI-side code
- [ ] Add support for custom rounding precision

## Changelog
- v0.1.1 (2022/10/21)
- Published prebuilt binaries for Linux (Appimage) and Windows
- Fixed a bug related to icon loading
- v0.1 (2022/10/18)
- Initial release

Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub fn parse_num(s: &str, i: usize) -> u32 {
// println!();
// }

pub static ABOUT_MSG: &str = "Lightmol v0.1 by aisuneko\npowered by Rust and fltk-rs";
pub static ABOUT_MSG: &str = "Lightmol v0.1.1 by aisuneko\npowered by Rust and fltk-rs";
pub fn init_schooldata() -> HashMap<Element, f32> {
HashMap::from([
(Element::Carbon, 12.0),
Expand Down

0 comments on commit bf5af04

Please sign in to comment.