From fb9f9217d4ecba8337d337a40b2cc27b2f343eec Mon Sep 17 00:00:00 2001 From: Xinyu Ma Date: Sun, 2 Jan 2022 22:44:31 -0800 Subject: [PATCH] Publish 1.0.0.0 to Windows Store --- .gitignore | 1 + Makefile | 12 +++++++++++- README.md | 4 ++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0fd58277..40198bcb 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ .vscode .idea +publish/** diff --git a/Makefile b/Makefile index 85e3b0a1..e6d8f192 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PACKAGE = github.com/named-data/YaNFD -VERSION = 0.0.1 +VERSION = 1.0.0.0 # COMMIT = git rev-parse --short HEAD # DATE != date @@ -29,3 +29,13 @@ cleanui: yanfdui: cleanui go build -ldflags "-X 'main.Version=${VERSION}' -X 'main.HttpBaseDir=cmd/yanfdui'" ${PACKAGE}/cmd/yanfdui + +# To publish a Windows Store application +# rm -rf publish +# mkdir publish +# go build -ldflags "-X 'main.Version=${VERSION}' ${PACKAGE}/cmd/yanfdui +# mv yanfdui publish/ +# cp -R cmd/yanfdui/static publish/ +# cp -R cmd/yanfdui/static publish/ +# cp ./ndn_app.ico publish/ +# Then, create the YaNFD-x64.msix file (including publish, yanfd.toml) diff --git a/README.md b/README.md index 32155841..2c97504b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ We have received reports that YaNFD operates properly on Windows 10 (with minor go install github.com/named-data/YaNFD/cmd/yanfd@latest ``` +## Install YaNFD from Windows Store + +Get it from: https://www.microsoft.com/store/apps/9NBK3ZJT4CL8 + ## Install the configuration file ### On MacOS/Linux ```bash