From f1ad7edb369e8cc87b1a3b95386878e6cdff2553 Mon Sep 17 00:00:00 2001 From: liu9293 Date: Fri, 30 Jun 2023 20:53:20 +0800 Subject: [PATCH] update readme --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f8972dc..2c9e1e7 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,13 @@ Live Demo -> https://rust-2048.vercel.app/ -### Test and run (Web) +### Test and run ``` -dioxus serve +// web +dioxus serve --platform web + +// desktop +dioxus serve --platform desktop ``` ### Target @@ -13,7 +17,7 @@ dioxus serve * Full stack in rust, with a simple backend server * Platform support - [x] Web - - [ ] Native MacOS + - [x] Native MacOS - [ ] Mobile ?? - [ ] Terminal ?? @@ -22,7 +26,7 @@ dioxus serve - [x] Basic UI - [x] Basic move logic - [x] Success or fail -- [ ] How to deploy +- [x] How to deploy * Web -> scripts/build-web.sh * Desktop -> scripts/build-desktop.sh - [x] Log the highest score and the total score