File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8181
8282 - name : Build FlatPak
8383 run : |
84- sudo apt install flatpak
85- sudo apt install flatpak-builder
84+ sudo apt install flatpak flatpak-builder python3 python3-aiohttp python3-toml
8685 flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
8786 make linux-flatpak
8887
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ edition = "2021"
55license = " Apache-2.0 OR MIT"
66
77[dependencies ]
8- relm4 = " 0.8 "
9- relm4-components = " 0.8 "
8+ relm4 = " 0.9 "
9+ relm4-components = " 0.9 "
1010minesweeper = { path = " ../minesweeper" }
1111serde = { version = " 1.0" , features = [" derive" ] }
1212chrono = { version = " 0.4" , features = [" serde" ] }
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ fn persist_win(win: Win) -> anyhow::Result<()> {
7777 . write ( true )
7878 . read ( true )
7979 . create ( true )
80+ . truncate ( true )
8081 . open ( get_save_file ( ) ?) ?;
8182 let mut history: WinHistory = from_read ( & stats_file) . unwrap_or_else ( |err| {
8283 eprintln ! ( "Failed to read stats file: {err}. Creating new WinHistory" ) ;
You can’t perform that action at this time.
0 commit comments