Removed the garbage workflow stuff

master
Able 2021-06-03 04:47:41 -05:00
parent d759e4155c
commit 9801c3cd1d
2 changed files with 2 additions and 27 deletions

View File

@ -1,25 +0,0 @@
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

View File

@ -53,8 +53,8 @@ impl App {
.with_size(800, 600)
.center_screen()
.with_label("AblEditor");
let image = fltk::image::PngImage::load("assets/icon.png").unwrap();
let ico = include_bytes!("../assets/icon.png");
let image = fltk::image::PngImage::from_data(ico).unwrap();
main_win.set_icon(Some(image));
let _menu = menu::Menu::new(&s);