Removed the garbage workflow stuff

This commit is contained in:
Able 2021-06-03 04:47:41 -05:00
parent 3f795682f3
commit b7e0b642d6
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) .with_size(800, 600)
.center_screen() .center_screen()
.with_label("AblEditor"); .with_label("AblEditor");
let ico = include_bytes!("../assets/icon.png");
let image = fltk::image::PngImage::load("assets/icon.png").unwrap(); let image = fltk::image::PngImage::from_data(ico).unwrap();
main_win.set_icon(Some(image)); main_win.set_icon(Some(image));
let _menu = menu::Menu::new(&s); let _menu = menu::Menu::new(&s);